MCPcopy Index your code
hub / github.com/coder/coder / DefaultOpenAIComputerUseDesktopGeometry

Function DefaultOpenAIComputerUseDesktopGeometry

codersdk/workspacesdk/display.go:41–48  ·  view source on GitHub ↗

DefaultOpenAIComputerUseDesktopGeometry returns the default native desktop geometry with OpenAI's recommended computer-use declared dimensions.

()

Source from the content-addressed store, hash-verified

39// DefaultOpenAIComputerUseDesktopGeometry returns the default native desktop
40// geometry with OpenAI's recommended computer-use declared dimensions.
41func DefaultOpenAIComputerUseDesktopGeometry() DesktopGeometry {
42 return NewDesktopGeometryWithDeclared(
43 DesktopNativeWidth,
44 DesktopNativeHeight,
45 desktopOpenAIComputerUseDeclaredWidth,
46 desktopOpenAIComputerUseDeclaredHeight,
47 )
48}
49
50// NewDesktopGeometry derives a declared model-facing geometry from the native
51// desktop size.

Calls 1