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

Method isDesktopEnabled

coderd/x/chatd/subagent.go:82–88  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

80}
81
82func (p *Server) isDesktopEnabled(ctx context.Context) bool {
83 enabled, err := p.db.GetChatDesktopEnabled(ctx)
84 if err != nil {
85 return false
86 }
87 return enabled
88}
89
90func subagentModelOverrideLogLabel(
91 overrideContext codersdk.ChatModelOverrideContext,

Callers 1

allSubagentDefinitionsFunction · 0.80

Calls 1

GetChatDesktopEnabledMethod · 0.65

Tested by

no test coverage detected