-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Initial Checks
- I confirm that I'm using the latest version of Pydantic AI
- I confirm that I searched for my issue in https://github.com/pydantic/pydantic-ai/issues before opening this issue
Description
As of the latest versions of PydanticAI, using the "google-vertex:gpt-oss-120b-maas" model from Google Vertex's model garden is not possible due to this error:
google.genai.errors.ClientError: 400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'Request contains an invalid argument.', 'status': 'INVALID_ARGUMENT'}}
Example Code
from pydantic_ai import Agent
a = Agent("google-vertex:gpt-oss-120b-maas")
await a.run("Hello, world!")Python, Pydantic AI & LLM client version
Python 3.13
pydantic-ai==1.10.0
google-genai==1.48.0