Skip to content

Commit 9715714

Browse files
zzstoatzzclaude
andauthored
use claude haiku 4.5 for research agent (#1234)
- upgrade pydantic-ai to 1.1.0 (includes haiku 4.5 support) - switch research agent from openai:gpt-4o to anthropic:claude-haiku-4-5 - haiku 4.5 provides faster, cheaper research with similar quality 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 91b5581 commit 9715714

2 files changed

Lines changed: 3091 additions & 2392 deletions

File tree

examples/slackbot/src/slackbot/research_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def create_research_agent(
4242
"""Create a specialized research agent for thorough information gathering."""
4343

4444
agent = Agent[ResearchContext, ResearchFindings](
45-
model=model or "openai:gpt-4o",
45+
model=model or "anthropic:claude-haiku-4-5",
4646
deps_type=ResearchContext,
4747
output_type=ResearchFindings,
4848
system_prompt="""You are a specialized research agent for Prefect documentation and knowledge.

0 commit comments

Comments
 (0)