File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22from pydantic_ai import Agent
33
44agent = Agent (
5- "google-gla :gemini-2.5-flash" ,
5+ "google:gemini-2.5-flash" ,
66 instructions = "Help users with cat breeds. Be concise." ,
77)
88
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class CityInfo(BaseModel):
99 fun_fact : str
1010
1111
12- agent = Agent ("google-gla :gemini-2.5-flash" , output_type = CityInfo )
12+ agent = Agent ("google:gemini-2.5-flash" , output_type = CityInfo )
1313
1414result = agent .run_sync ("Tell me about Tokyo" )
1515print (result .output )
Original file line number Diff line number Diff line change 11from pydantic_ai import Agent
22
33agent = Agent (
4- "google-gla :gemini-2.5-flash" ,
4+ "google:gemini-2.5-flash" ,
55 instructions = "You're a Python Expert. Reply in one sentence." ,
66)
77
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class UserSummary(BaseModel):
2121
2222
2323agent = Agent (
24- "google-gla :gemini-2.5-flash" ,
24+ "google:gemini-2.5-flash" ,
2525 output_type = UserSummary ,
2626 deps_type = UserDatabase ,
2727 instructions = (
You can’t perform that action at this time.
0 commit comments