Skip to content

Commit 4cb4fcf

Browse files
committed
fix model
1 parent a031a6f commit 4cb4fcf

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

examples/async_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SearchResult(BaseModel):
3636
task="""
3737
Find top 10 Hacker News articles and return the title and url.
3838
""",
39-
agent_settings={"llm": "gemini-2.5-flash"},
39+
agent_settings={"llm": "gpt-4.1"},
4040
structured_output_json=SearchResult,
4141
)
4242

examples/async_retrieve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class SearchResult(BaseModel):
5959
task="""
6060
Find top 10 Hacker News articles and return the title and url.
6161
""",
62-
agent_settings={"llm": "gemini-2.5-flash"},
62+
agent_settings={"llm": "gpt-4.1"},
6363
structured_output_json=SearchResult,
6464
)
6565

examples/async_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class SearchResult(BaseModel):
4040
task="""
4141
Find top 10 Hacker News articles and return the title and url.
4242
""",
43-
agent_settings={"llm": "gemini-2.5-flash"},
43+
agent_settings={"llm": "gpt-4.1"},
4444
structured_output_json=SearchResult,
4545
)
4646

examples/async_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SearchResult(BaseModel):
4848
task="""
4949
Find top 10 Hacker News articles and return the title and url.
5050
""",
51-
agent_settings={"llm": "gemini-2.5-flash"},
51+
agent_settings={"llm": "gpt-4.1"},
5252
structured_output_json=SearchResult,
5353
)
5454

examples/create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class SearchResult(BaseModel):
3838
task="""
3939
Find top 10 Hacker News articles and return the title and url.
4040
""",
41-
agent_settings={"llm": "gemini-2.5-flash"},
41+
agent_settings={"llm": "gpt-4.1"},
4242
structured_output_json=SearchResult,
4343
)
4444

examples/retrieve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class SearchResult(BaseModel):
6262
task="""
6363
Find top 10 Hacker News articles and return the title and url.
6464
""",
65-
agent_settings={"llm": "gemini-2.5-flash"},
65+
agent_settings={"llm": "gpt-4.1"},
6666
structured_output_json=SearchResult,
6767
)
6868

examples/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class SearchResult(BaseModel):
4242
task="""
4343
Find top 10 Hacker News articles and return the title and url.
4444
""",
45-
agent_settings={"llm": "gemini-2.5-flash"},
45+
agent_settings={"llm": "gpt-4.1"},
4646
structured_output_json=SearchResult,
4747
)
4848

examples/stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class SearchResult(BaseModel):
5050
task="""
5151
Find top 10 Hacker News articles and return the title and url.
5252
""",
53-
agent_settings=AgentSettings(llm="gemini-2.5-flash"),
53+
agent_settings={"llm": "gpt-4.1"},
5454
structured_output_json=SearchResult,
5555
)
5656

0 commit comments

Comments
 (0)