mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-16 21:59:29 +00:00
|
Some checks failed
CI / semgrep (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.15.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
Tests / vscode (push) Waiting to run
Windows Menubar CI / check (ubuntu-latest) (push) Has been cancelled
Windows Menubar CI / check (windows-latest) (push) Has been cancelled
* fix(pricing): keep a price snapshot refresh from repricing ids upstream only reshuffled Bundler rules, each with a synthetic-input test: - A previous primary row upstream no longer produces stays in the primary snapshot. In the fallback it was reached only after prefix matching, so mistral-large fell to a $0 mistral row and built-in aliases to z-ai/glm-5.x and xiaomi/mimo-v2.5 stopped resolving. - Router ids stay out of the gap-fill: models.dev families auto and model-router, OpenRouter's Router tokenizer and its openrouter/ namespace. A priced auto row priced every <gateway>/auto id. - A reseller's namespaced key (perplexity/openai/x -> openai/x) takes the maker's row when the namespace matches that row's provider. A key only resellers claim keeps its previous value while a reseller still quotes it or its source row was dropped, and a reseller row added since never tops up a slot an existing id lacked; only a reseller repricing its own row moves it. - A long-context tier upstream drops from a row that still exists is kept. - A maker row more than 2x off the median reseller quote for the same model does not reprice an existing id. - A rate that turns exactly $0 on a row still priced on input is treated as missing and keeps its previous slot. Carried, held, kept-tier, off-market and zeroed ids are listed in src/data/litellm-snapshot.meta.json. * fix(pricing): never let a $0 prefix sibling price an id with its own fallback row chat-bison and chat-bison-001 have priced fallback rows, but a new $0 gateway row strips to a bare `chat` key whose prefix match won first. A $0 prefix hit now yields to the id's exact fallback row; a priced sibling still wins, since fallback rows are resale or carried figures. This also prices mistral/mistral-embed, mistral-saba and intfloat/multilingual-e5-large-instruct, which resolved to $0 on main. * chore: refresh the bundled price snapshot Regenerated with npm run bundle-litellm from LiteLLM main at 5bc25ff8 (2026-11-07T20:01:36Z), plus models.dev and the OpenRouter models API fetched 2026-11-07. Upstream removed every openrouter/ row on 9 Oct; those 929 rows are carried in the primary snapshot. Upstream #45647 set claude-sonnet-4-5 to a 200k context and dropped its 200k tier ($6 / $22.50); the previous tier is kept on claude-sonnet-4-5, claude-sonnet-4-5-20250929 and the two Bedrock Claude 3.5 Sonnet rows, so past 1M-context requests keep their price. * fix(pricing): bound the snapshot carry and hold rules - A reseller-only key keeps its previous value only while a current reseller row still quotes it; once none does, it takes the claim. - An off-market maker row is held back only when it is more than 2x above the median reseller quote; a maker row below it is the maker's own price. - A dropped long-context tier, and a slot that turns exactly $0, are kept only while the row's other rates are unchanged; a row upstream re-priced takes upstream's shape. - Router and meta ids are not carried forward either. A `~` version pointer is, since it bills as the model it names. * chore: regenerate the bundled price snapshot with the bounded rules Same upstream: LiteLLM main at 5bc25ff8 (2026-11-07T20:01:36Z). * docs: changelog entry for the bundled price refresh * fix(pricing): expire snapshot holds after one refresh A reseller-only key held at its previous value (rule c) or an id held against an off-market maker row (rule e) is recorded in the meta file with the date the hold began. The next refresh that would hold it again takes the current upstream value instead, so a stale quote or a wrong maker row delays a reprice once, never forever. A hold whose stale quote disappears releases at once. Carried retired rows are not holds and stay. * chore: record hold start dates in the snapshot meta Snapshot and fallback are byte-identical to the previous regeneration (LiteLLM 5bc25ff8, 2026-11-07T20:01:36Z); only the meta format changes. * fix(pricing): expire every snapshot hold after one refresh and price reseller keys at the median quote A kept long-context tier and a restored $0 slot now expire like the other holds: kept for one refresh with the date in the meta file, then upstream's shape. A key only resellers quote takes the median quote (lower middle when even, priced before $0) instead of the first row in upstream's JSON order, so a reordered upstream file prices it the same. Snapshot regenerated from the same upstream (LiteLLM 5bc25ff8, 2026-11-07T20:01:36Z). |
||
|---|---|---|
| .. | ||
| perf | ||
| release-acceptance | ||
| upgrade-path | ||
| bundle-litellm.mjs | ||
| sign-plugin.mjs | ||
| slowest-tests.mjs | ||
| smoke-plugin-socket.mjs | ||