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

Function createChatInputFromRequest

coderd/exp_chats.go:6205–6212  ·  view source on GitHub ↗
(ctx context.Context, db database.Store, req codersdk.CreateChatRequest)

Source from the content-addressed store, hash-verified

6203}
6204
6205func createChatInputFromRequest(ctx context.Context, db database.Store, req codersdk.CreateChatRequest) (
6206 []codersdk.ChatMessagePart,
6207 string,
6208 []uuid.UUID,
6209 *codersdk.Response,
6210) {
6211 return createChatInputFromParts(ctx, db, req.Content, "content")
6212}
6213
6214func createChatInputFromParts(
6215 ctx context.Context,

Callers 1

postChatsMethod · 0.85

Calls 1

createChatInputFromPartsFunction · 0.85

Tested by

no test coverage detected