Repository navigation
feat(opencode): designation provenance — source fields verified against models.dev + live provider lists (#13675) - #13695
Merged
Merged
Conversation
…st models.dev + live provider lists (#13675) Drew's addition (2026-11-23): designations must be populated and verified from models.dev AND the providers' own live model-list endpoints, with provenance recorded in the config. - Every model_designations entry gains a "source" naming the asserting source. Verified 2026-11-23: - Zen decision ids (jev-1.13-free, jev-1.13, gpt-6-luna-decision): present on Zen's live /v1/models (opencode.ai/zen, 105 models); absent from models.dev entirely — recorded in the config comment. - gemini-decision-1: Google live /v1beta/models asserts it with supportedGenerationMethods ["createDecision"] (plus the earlier live /decisions probe, 200). - gemini-embedding-2 / gemini-embedding-001: Google live list asserts embedContent; models.dev asserts both (family gemini-embedding; 001 marked deprecated there, still served live). - Groq shelf: Groq live /openai/v1/models for our key (11 models) and models.dev both assert whisper-large-v3(-turbo), canopylabs/orpheus-v1-english / orpheus-arabic-saudi, and meta-llama/llama-prompt-guard-2-22m/86m — and both omit playai-tts, confirming the Orpheus substitution in #13689. - Checker: a designation "source", when present, must be a non-empty string (new test; route-rules suite 31/31).
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 57 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
Follow-up to #13689 (Parts 1+3a of #13675) implementing Drew's 2026-11-23 provenance addition: designations verified from models.dev and the providers' own live model-list endpoints, with provenance recorded in the config.
Changes
model_designationsentry gains a"source"field naming its asserting source; the section comment records the full provenance findings.source, when present, must be a non-empty string (+1 test; route-rules suite now 31/31, metered + go-seating suites 32/32, both config checkers pass).Verification (all live, 2026-11-23)
GET opencode.ai/zen/v1/models(105 models): all presentGET /v1beta/models: present,supportedGenerationMethods: ["createDecision"](plus the live/decisionsprobe, HTTP 200)gemini-embeddingembedContentgemini-embedding, status: deprecatedembedContent(still served)[audio]GET api.groq.com/openai/v1/models(our key, 11 models): present[audio]llama-prompt-guardDiscrepancies vs the original brief, handled per Drew's rule: (1) playai-tts exists in neither source → not designated/seated (already adjusted in #13689). (2) Zen decision ids are absent from models.dev → their asserting source is Zen's own live list, recorded as such. (3) gemini-embedding-001 is deprecated on models.dev but live-served by Google with embedContent → designation kept, deprecation recorded in the config comment.
Refs #13675
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.