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

Method unavailableReasonText

coderd/x/chatd/subagent_catalog.go:204–213  ·  view source on GitHub ↗
(
	ctx context.Context,
	p *Server,
	currentChat database.Chat,
)

Source from the content-addressed store, hash-verified

202}
203
204func (d subagentDefinition) unavailableReasonText(
205 ctx context.Context,
206 p *Server,
207 currentChat database.Chat,
208) string {
209 if d.unavailableReason == nil {
210 return ""
211 }
212 return d.unavailableReason(ctx, p, currentChat)
213}
214
215func resolveSubagentDefinition(
216 ctx context.Context,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected