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

Method Error

coderd/exp_chats.go:6775–6777  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6773}
6774
6775func (e *chatModelConfigProviderModelError) Error() string {
6776 return e.Response.Message
6777}
6778
6779func validateChatModelConfigProviderModel(aiProvider database.AIProvider, model string) *chatModelConfigProviderModelError {
6780 if err := chatd.ValidateAIGatewayProviderModel(aiProvider, model); err != nil {

Callers 15

publishChatTitleChangeFunction · 0.45
publishChatConfigEventFunction · 0.45
watchChatsMethod · 0.45
chatsByWorkspaceMethod · 0.45
listChatsMethod · 0.45
postChatsMethod · 0.45
listChatModelsMethod · 0.45
chatCostSummaryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected