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

Method Error

coderd/workspaceagents.go:2699–2704  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2697}
2698
2699func (e *multipleActiveChatsError) Error() string {
2700 return fmt.Sprintf(
2701 "multiple active chats (%d) found for this agent, specify a chat ID",
2702 e.count,
2703 )
2704}
2705
2706func resolveDefaultAgentChat(chats []database.Chat) (database.Chat, error) {
2707 switch len(chats) {

Calls

no outgoing calls

Tested by

no test coverage detected