Skip to content

Commit 7aee96e

Browse files
committed
lint
1 parent 4cb1a86 commit 7aee96e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def override_allow_model_requests(allow_model_requests: bool) -> Iterator[None]:
679679

680680
def infer_model(
681681
model: Model | KnownModelName | str, provider_generator: Callable[[str], Provider[Any]] | None = None
682-
) -> Model: # noqa: C901
682+
) -> Model:
683683
"""Infer the model from the name. May optionally pass a callable that setup a custom provider for the model."""
684684
if isinstance(model, Model):
685685
return model

0 commit comments

Comments
 (0)