Repository navigation
feat(v2): migrate Abacus provider files to schema 2 - #10776
Merged
Merged
Conversation
Contributor
Action items
|
Collaborator
Author
|
Review round 1:
|
Contributor
Action items
|
Collaborator
Author
|
Review round 2:
|
Contributor
Action items
|
Collaborator
Author
|
Review round 3:
|
Contributor
Action items
|
… inherit non-reasoning from their labs
rekram1-node
force-pushed
the
v2-abacus
branch
from
October 21, 2026 06:46
f51fddb to
82975b9
Compare
Contributor
|
No actionable findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The 108 Abacus (RouteLLM) files were still v1. 30 were standalone even though most have a lab entry. 40 ids are no longer in the RouteLLM catalog, 16 prices had drifted, and two files had an
attachmentthat contradicted their modalities.Change
Source (accessed 2026-10-21):
https://routellm.abacus.ai/v1/models(public; rates, modalities,thinking, context). There was noABACUS_API_KEY, so there were no live probes.kimi-k2.5:attachment = falsewith image/video input.Qwen/Qwen3.6-27B: inheritedattachment = truewhile RouteLLM lists text-only input. Fixed in the link commit: kimi follows its modalities (true), and Qwen3.6-27B is now explicitly text-only (false)./v1/models. Most of their headers cite that same endpoint as their source, so these are removals (e.g. DeepSeek-V4-Flash/Pro → the -0731/-0813 ids, gpt-5.1-codex, claude-opus-4-1).# RouteLLM *_rateheader lines are updated to match.Mid-conversation flags stay unset because RouteLLM documents none, and nothing was tested live.
v1 changes
status = "deprecated"on 40.canonical_model_id23,knowledgeadded 11, release/last-updated dates on 15,familyon 3 (gpt-5.1-codex-max and gpt-5.3-codex-xhigh →gpt-codex; gemini-3.1-flash-lite-preview →gemini-flash-lite). grok-4-fast-non-reasoning and grok-code-fast-1 keepgrok, because the xAI labs now carry it (separate commit).grok-4-fast-non-reasoningandgrok-code-fast-1gainfamily = "grok", matching the other xAI Grok labs (https://docs.x.ai/developers/models). This is additive in v1 for their other hosts too:familyadded on edenai and aimlapi grok-4-fast-non-reasoning.attachment: kimi-k2.5 false → true, Qwen3.6-27B true → false.reasoningtrue → false (reasoning_optionsremoved) on Qwen3-235B-A22B-Instruct-2507 (the non-thinking release) and gpt-5.3-chat-latest. Both now inherit their labs.coston the 16 price files above (cache_readadded on 3).modalities.inputreordered to the lab's order (same set). It now inherits the lab instead of restating it.Out of scope / needs discussion
audio, which isn't in the lab) and grok-code-fast-1 (image; the xAI lab is text-only). Both are retired.text_generationids, e.g. claude-opus-5-5, gpt-6-, gemini-3.8-flash, grok-4.7, GLM-5.3, DeepSeek-V4--0731/0813), plus 87 image/video/audio/classification models, aren't added./v1/modelshas rates, modalities,thinking,api_formatsand context, so one is feasible. Its many*_ratekeys for media models need per-type units.Verification
bun packages/core/script/migrate-v2.ts provider abacus: 106 migrated (2 refused, handled above);bun run v1:checkbyte-identical on that commit.bun run v1:checkon the branch: only the changes listed above, 0 models added/removed. MIME and dedupe commits are byte-identical in v1.bun validate: passes.bun test: 674 pass / 10 fail, the same 10 that fail on dev.