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

Function createChatModelConfig

coderd/exp_chats_test.go:10657–10660  ·  view source on GitHub ↗
(t testing.TB, client *codersdk.ExperimentalClient)

Source from the content-addressed store, hash-verified

10655}
10656
10657func createChatModelConfig(t testing.TB, client *codersdk.ExperimentalClient) codersdk.ChatModelConfig {
10658 t.Helper()
10659 return coderdtest.CreateOpenAICompatChatModelConfig(t, client, "")
10660}
10661
10662func createChatModelConfigWithBaseURL(t testing.TB, client *codersdk.ExperimentalClient, baseURL string) codersdk.ChatModelConfig {
10663 t.Helper()

Callers 15

TestPostChatsFunction · 0.70
TestPostChats_ClientTypeFunction · 0.70
TestListChatsFunction · 0.70
TestListChatModelsFunction · 0.70
TestWatchChatsFunction · 0.70
TestListChatProvidersFunction · 0.70
TestListChatModelConfigsFunction · 0.70
TestGetChatFunction · 0.70
TestGetChatUserPromptsFunction · 0.70
TestPatchChatFunction · 0.70

Calls 2

HelperMethod · 0.65

Tested by

no test coverage detected