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

Method createChildSubagentChat

coderd/x/chatd/subagent.go:920–927  ·  view source on GitHub ↗
(
	ctx context.Context,
	parent database.Chat,
	prompt string,
	title string,
)

Source from the content-addressed store, hash-verified

918}
919
920func (p *Server) createChildSubagentChat(
921 ctx context.Context,
922 parent database.Chat,
923 prompt string,
924 title string,
925) (database.Chat, error) {
926 return p.createChildSubagentChatWithOptions(ctx, parent, prompt, title, childSubagentChatOptions{})
927}
928
929func (p *Server) createChildSubagentChatWithOptions(
930 ctx context.Context,