File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pydantic_ai_slim/pydantic_ai/providers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212from pydantic_ai .providers import Provider
1313
1414try :
15- from anthropic import AsyncAnthropic , AsyncAnthropicBedrock
15+ from anthropic import AsyncAnthropic , AsyncAnthropicBedrock , AsyncAnthropicVertex
1616except ImportError as _import_error :
1717 raise ImportError (
1818 'Please install the `anthropic` package to use the Anthropic provider, '
1919 'you can use the `anthropic` optional group — `pip install "pydantic-ai-slim[anthropic]"`'
2020 ) from _import_error
2121
2222
23- AsyncAnthropicClient : TypeAlias = AsyncAnthropic | AsyncAnthropicBedrock
23+ AsyncAnthropicClient : TypeAlias = AsyncAnthropic | AsyncAnthropicBedrock | AsyncAnthropicVertex
2424
2525
2626class AnthropicProvider (Provider [AsyncAnthropicClient ]):
You can’t perform that action at this time.
0 commit comments