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

Function chatdModelConfigLookupContext

coderd/x/chatd/chatd.go:1932–1936  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

1930}
1931
1932func chatdModelConfigLookupContext(ctx context.Context) context.Context {
1933 //nolint:gocritic // Chat message admission needs daemon-scoped
1934 // deployment-config reads for model config validation.
1935 return dbauthz.AsChatd(ctx)
1936}
1937
1938func resolveSendMessageModelConfigID(
1939 ctx context.Context,

Callers 4

EditMessageMethod · 0.85

Calls 1

AsChatdFunction · 0.92

Tested by

no test coverage detected