Skip to content

Commit e0e8369

Browse files
committed
Some fixes
1 parent c23076d commit e0e8369

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pydantic_ai_slim/pydantic_ai/models/cohere.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ def __init__(
129129
if isinstance(provider, str):
130130
provider = infer_provider(provider)
131131
self.client = provider.client
132-
self._profile = profile or provider.model_profile
133132

134133
super().__init__(settings=settings, profile=profile or provider.model_profile)
135134

tests/models/cassettes/test_model_names/test_known_model_names.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interactions:
1515
response:
1616
headers:
1717
content-length:
18-
- '550'
18+
- '545'
1919
content-security-policy:
2020
- default-src 'none'; frame-ancestors 'none'
2121
content-type:
@@ -46,7 +46,6 @@ interactions:
4646
- text-to-text
4747
- model_id: claude-4-sonnet
4848
regions:
49-
- eu
5049
- us
5150
type:
5251
- text-to-text

0 commit comments

Comments
 (0)