Skip to content

Swap Anthropic SDK for OpenRouter, update docs - #3

Merged
gititya merged 1 commit into
mainfrom
codex/signal-closeout
Jul 31, 2026
Merged

gititya merged 1 commit into
mainfrom
codex/signal-closeout

Conversation

@gititya

@gititya gititya commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Swap all four model call sites (ingest, cluster, classify, narrate) plus signal.py, eval_bucket_golden.py, run_wispr_cluster.py from the anthropic SDK to OpenRouter via a new shared src/llm_client.py
  • Model constants moved from Anthropic-native IDs to OpenRouter slugs; OPENROUTER_API_KEY replaces ANTHROPIC_API_KEY
  • Updated CLAUDE.md, AGENTS.md, SKILL.md, BUILDS.md, README.md to reflect the swap and current closeout state
  • Reviewed all branches: codex-signal-taxonomy-redesign and prior codex/signal-closeout history are already fully merged into main — nothing else was hanging

Test plan

  • unittest suites pass for ingest, classify, narrate, score, key (offline)
  • Pre-existing, unrelated failure in test_cluster.py (KeyError: 'other_bucket_index') flagged but not fixed — predates this branch's work

All four model call sites (ingest, cluster, classify, narrate) plus
signal.py, eval_bucket_golden.py, and run_wispr_cluster.py now go
through a shared src/llm_client.py client on OpenRouter instead of
constructing anthropic.Anthropic directly. Model constants moved to
OpenRouter slugs; OPENROUTER_API_KEY replaces ANTHROPIC_API_KEY.

Updated CLAUDE.md, AGENTS.md, SKILL.md, BUILDS.md, and README.md to
reflect the swap and current closeout state.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@gititya
gititya merged commit e587b32 into main Jul 31, 2026
1 check passed
@gititya
gititya deleted the codex/signal-closeout branch August 28, 2026 14:22
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.

1 participant