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

Function parseSubagentToolChatID

coderd/x/chatd/subagent.go:842–848  ·  view source on GitHub ↗
(raw string)

Source from the content-addressed store, hash-verified

840}
841
842func parseSubagentToolChatID(raw string) (uuid.UUID, error) {
843 chatID, err := uuid.Parse(strings.TrimSpace(raw))
844 if err != nil {
845 return uuid.Nil, xerrors.New("chat_id must be a valid UUID")
846 }
847 return chatID, nil
848}
849
850// childSubagentChatOptions carries per-child overrides for subagent chat
851// creation. modelConfigIDOverride and planModeOverride apply to any

Callers 1

subagentToolsMethod · 0.85

Calls 2

ParseMethod · 0.65
NewMethod · 0.65

Tested by

no test coverage detected