Skip to content

fix: price the Claude 5 generation, refresh the default LLM allowlist (0.3.5) - #18

Merged
Weegy merged 2 commits into
mainfrom
fix/model-catalog-opus5-sonnet5
Sep 8, 2026
Merged

Weegy merged 2 commits into
mainfrom
fix/model-catalog-opus5-sonnet5

Conversation

@Weegy

@Weegy Weegy commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

omadia core moved its Anthropic catalog to Opus 5 / Sonnet 5 (byte5ai/omadia#1058) and now discovers models live from the vendor API. Two things here still named the previous generation:

  • usageTelemetry.ts: exact price entries for claude-opus-5 ($5/$25) and claude-sonnet-5 ($2/$10). Sonnet 5 is cheaper than 4.6 — without the exact entry the generic sonnet family fallback would over-bill it at $3/$15. 4.x entries stay.
  • docker-compose.dev-platform.yaml: DEV_PLATFORM_LLM_ALLOWED_MODELS default lists the Claude 5 ids first and keeps Opus 4.8; the old claude-sonnet-4-8 entry never existed. This remains an exact-match allowlist of what the CLI reports (policy input), so it cannot be a class ref.

Version 0.3.4 → 0.3.5 in manifest.yaml, package.json and the lockfile entry (by hand, per scripts/check-lock-sync.mjs).

Verified: check:lock, npm run typecheck -w packages/plugin, npm run test -w packages/plugin — all pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_018UfJ6mYnCjhMb4x2jSNJCW


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Weegy and others added 2 commits September 8, 2026 13:30
… (0.3.5)

omadia core moved its Anthropic catalog to Opus 5 / Sonnet 5 (byte5ai/omadia
#1058) and now discovers models live from the vendor API. Two things here
still named the previous generation:

- usageTelemetry.ts: added exact price entries for claude-opus-5 ($5/$25)
  and claude-sonnet-5 ($2/$10). Sonnet 5 is CHEAPER than 4.6, so without
  the exact entry the generic 'sonnet' family fallback would have
  over-billed it at the old $3/$15 rate. The 4.x entries stay (still
  billable for pinned deployments).
- docker-compose.dev-platform.yaml: DEV_PLATFORM_LLM_ALLOWED_MODELS default
  now lists the Claude 5 ids first and keeps Opus 4.8; the old
  `claude-sonnet-4-8` entry never existed as a model id and is gone. This
  stays an exact-match allowlist of what the CLI reports (a policy input),
  so it cannot be a class ref.

Version 0.3.4 -> 0.3.5 in manifest.yaml, package.json and the lockfile
entry (by hand, per scripts/check-lock-sync.mjs). check:lock, typecheck and
the plugin test suite pass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UfJ6mYnCjhMb4x2jSNJCW
The "Build @omadia/plugin-api from the sibling checkout" step has been red
on every run since core main moved to vite 8 / vitest 4.1: npm 10.9's
arborist walks core's peer-dependency web even under --no-workspaces and
crashes in #loadPeerSet ("Cannot read properties of null (reading
'edgesOut')") before typescript is installed. Reproduced locally against
core main 9d723e39 and its parent d82b42c3 — unrelated to this PR.

The step installs two leaf packages and needs no peer resolution, so
--legacy-peer-deps skips the walk; verified locally: install succeeds and
`tsc -p packages/plugin-api` emits index.d.ts.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UfJ6mYnCjhMb4x2jSNJCW
@Weegy
Weegy merged commit 7c8e203 into main Sep 8, 2026
3 checks passed
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