Skip to content

Commit a64208c

Browse files
jssmithseratch
andauthored
gpt 4.5-preview is removed, use gpt-4.1 (#1266)
The Financial Research Agent example is broken because it uses the model `gpt-4.5-preview-2025-02-27`. This model has been [removed and is no longer available](https://platform.openai.com/docs/deprecations#2025-04-14-gpt-4-5-preview). This change follows the recommendation to replace gpt-4.5-preview with gpt-4.1. --------- Co-authored-by: Kazuhiro Sera <[email protected]>
1 parent e2d2938 commit a64208c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/financial_research_agent/agents/writer_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class FinancialReportData(BaseModel):
2929
writer_agent = Agent(
3030
name="FinancialWriterAgent",
3131
instructions=WRITER_PROMPT,
32-
model="gpt-4.5-preview-2025-02-27",
32+
model="gpt-4.1",
3333
output_type=FinancialReportData,
3434
)

0 commit comments

Comments
 (0)