(providerType codersdk.AIProviderType)
| 50 | } |
| 51 | |
| 52 | func aiProviderDisplayName(providerType codersdk.AIProviderType) string { |
| 53 | switch providerType { |
| 54 | case codersdk.AIProviderTypeAnthropic: |
| 55 | return "Anthropic" |
| 56 | case codersdk.AIProviderTypeOpenAI: |
| 57 | return "OpenAI" |
| 58 | default: |
| 59 | return string(providerType) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | // TestAnthropicWebSearchRoundTrip is an integration test that verifies |
| 64 | // provider-executed tool results (web_search) survive the full |
no outgoing calls
no test coverage detected