(provider string)
| 10646 | } |
| 10647 | |
| 10648 | func 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 | |
| 10657 | func createChatModelConfig(t testing.TB, client *codersdk.ExperimentalClient) codersdk.ChatModelConfig { |
| 10658 | t.Helper() |
no outgoing calls
no test coverage detected