-
-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Good afternoon,
I'm using (main): 20260110-1-db797fb and am seeing many exceptions relative to pydantic when using gemini-3-flash.
Here is the logs:
llm-proxy | Attempting stream with credential antigravity_oauth_1.json (Attempt 1/2)
llm-proxy | Stream connection established for credential antigravity_oauth_1.json. Processing response.
llm-proxy | /usr/local/lib/python3.11/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
llm-proxy | PydanticSerializationUnexpectedValue(Expected 10 fields but got 5: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content=None, rol...er_specific_fields=None), input_type=Message])
llm-proxy | PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st...form structure.\n\n\n'}), input_type=Choices])
llm-proxy | return self.__pydantic_serializer__.to_python(
llm-proxy | /usr/local/lib/python3.11/site-packages/pydantic/main.py:464: UserWarning: Pydantic serializer warnings:
llm-proxy | PydanticSerializationUnexpectedValue(Expected 10 fields but got 5: Expected `Message` - serialized value may not be as expected [field_name='message', input_value=Message(content=None, rol...er_specific_fields=None), input_type=Message])
llm-proxy | PydanticSerializationUnexpectedValue(Expected `StreamingChoices` - serialized value may not be as expected [field_name='choices', input_value=Choices(finish_reason='st... visual design.\n\n\n"}), input_type=Choices])
llm-proxy | return self.__pydantic_serializer__.to_python(
Here is my provider configuration:
"google.antigravity.gemini-3-flash": {
"id": "antigravity/gemini-3-flash",
"limit": { "context": 1048576, "output": 65636 },
"options": { "thinking_level": "high" },
"variants": {
"minimal": { "thinking_level": "minimal" },
"low": { "thinking_level": "low" },
"medium": { "thinking_level": "medium" },
"high": { "thinking_level": "high" }
}
},Cheers and thank you for the great project,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working