You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Epic: Serve OSA from the Claude Platform on AWS and retire the OpenRouter platform route #360
Retire OpenRouter as the platform-funded route and serve every community from the Claude Platform on AWS with a dedicated OSA key, the same endpoint HEDit moved to. Bring-your-own-key stays additive: an OpenRouter key still buys access to any OpenRouter model, and an Anthropic key is now accepted too. A Bedrock provider for many models is expected later; the provider layer is built so it can be added without another migration.
Model policy
Offered models narrow to two, both free to widget users on the platform key:
claude-haiku-4-5 (default) with extended thinking at a 2048-token budget. HEDit measured Haiku with a thinking budget as matching Sonnet on its tasks at a fraction of the cost; Haiku 4.5 has no adaptive mode, so the budget is explicit.
claude-sonnet-5 with adaptive thinking, for users who want the larger model.
Legacy OpenRouter-style identifiers (for example anthropic/claude-haiku-4.5) are normalized to first-party ids so saved widget settings and CLI configs keep working.
Phases
Anthropic LLM service: offered-model registry, aliases, thinking policy, Claude Platform on AWS server mode, BYOK Anthropic, prompt caching that survives tool binding, pricing and settings.
Key and model policy: platform and community keys become Anthropic-only and limited to the two offered models; BYOK OpenRouter keeps arbitrary models; community config defaults migrated; CLI headers.
Widget and deployment config: model menu reduced to Sonnet 5 and Haiku 4.5, settings field accepts either key type, worker pass-through, compose and environment documentation, server environment sync.
Inline citations (Include source link in response #350): retrieval tools return Anthropic search result blocks with citations enabled, citations reach the API response and the widget, with a prompt-rule fallback for BYOK OpenRouter models.
Documentation site: update the OpenRouter references across the OSA pages in the documentation repository, including the architecture diagrams and the platform slide deck. Tracked separately in that repository.
Out of scope
Amazon Bedrock support. The provider seam is left open for it, but no Bedrock client lands in this epic.
documentation#37 the docs-site rewrite (PR documentation#38, live)
BYOK stays additive: an OpenRouter or OpenAI key from a caller still works, and #393/PR #394 closed a header bypass found while checking that.
Follow-ups filed rather than folded in: #382 (preloaded documents cannot be cited), #389 (bare [n] marker syntax can collide with the model's own prose), #396 (internal ValueErrors reported as 400), #397 (unmarked live-network tests).
Remaining, and deliberately not part of the merge: ~/osa/.env on the server still needs DEFAULT_MODEL/TEST_MODEL pointed at claude-haiku-4-5 with the dead pre-migration variables pruned, and prod keeps running the pre-migration build until a develop -> main release.
Activity
neuromechanist commentedon Sep 17, 2026
Merged into
developas PR #395 (f72fc28), a regular merge so the phase commits survive.Five phases:
claude-haiku-4-5(default, with thinking) andclaude-sonnet-4-5BYOK stays additive: an OpenRouter or OpenAI key from a caller still works, and #393/PR #394 closed a header bypass found while checking that.
Follow-ups filed rather than folded in: #382 (preloaded documents cannot be cited), #389 (bare
[n]marker syntax can collide with the model's own prose), #396 (internalValueErrors reported as 400), #397 (unmarked live-network tests).Remaining, and deliberately not part of the merge:
~/osa/.envon the server still needsDEFAULT_MODEL/TEST_MODELpointed atclaude-haiku-4-5with the dead pre-migration variables pruned, and prod keeps running the pre-migration build until adevelop->mainrelease.