Skip to content

feat: migrate LLM backend from OpenAI gpt-5-nano to Claude Sonnet - #9

Merged
panchgonzalez merged 5 commits into
mainfrom
feat/migrate-to-claude-sonnet
May 26, 2026
Merged

feat: migrate LLM backend from OpenAI gpt-5-nano to Claude Sonnet#9
panchgonzalez merged 5 commits into
mainfrom
feat/migrate-to-claude-sonnet

Conversation

@panchgonzalez

@panchgonzalez panchgonzalez commented May 26, 2026

Copy link
Copy Markdown
Member

Closes #8

Summary

  • Swaps OpenAI provider for Anthropic Claude (claude-sonnet-4-6) across the full triage → research → scoring pipeline
  • Replaces OpenAIProvider/OpenAIChatModel with AnthropicProvider/AnthropicModel in agent_factory
  • Renames OPENAI_API_KEYANTHROPIC_API_KEY in config, .env.example, and the init wizard
  • Removes LLM_BASE_URL (not used by Anthropic client)
  • Bumps version to 0.2.0

Test plan

  • Set ANTHROPIC_API_KEY in .env (remove OPENAI_API_KEY)
  • Run uv sync to install the anthropic extra
  • Send a test lead through the Slack trigger and confirm triage + research + scoring complete
  • Verify / reaction appears on the Slack message
  • Deploy to production and confirm no more 429 quota errors

@panchgonzalez
panchgonzalez merged commit b665e10 into main May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: migrate LLM backend from OpenAI gpt-5-nano to Claude Sonnet

1 participant