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

Function aiProviderBaseURLForTest

coderd/exp_chats_test.go:10648–10655  ·  view source on GitHub ↗
(provider string)

Source from the content-addressed store, hash-verified

10646}
10647
10648func aiProviderBaseURLForTest(provider string) string {
10649 switch provider {
10650 case "anthropic", "bedrock", "google":
10651 return "https://api.example.com"
10652 default:
10653 return "https://api.example.com/v1"
10654 }
10655}
10656
10657func createChatModelConfig(t testing.TB, client *codersdk.ExperimentalClient) codersdk.ChatModelConfig {
10658 t.Helper()

Callers 1

createAIProviderForTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected