Repository navigation
fix: align model catalog checks with standard Access defaults - #185244
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review endedClawSweeper stopped reviewing this revision because the pull request closed. |
Contributor
Author
|
Fixed: exact model catalog coverage now reflects the Standard Access-program default. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 27, 2026
…aw#185244) Align exact model catalog expectations with the Standard Access-program default while preserving catalog filtering, aliases, and runtime behavior.
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.
What Problem This Solves
Fixes the exact
models.listcatalog tests that still describe OpenAI/Codex rows without the Standard Access-program default. The catalog producer now intentionally includescyberAccessProgramDefault: "standard", so those strict expectations fail even though the projected runtime behavior is correct.User Impact
There is no user-visible, runtime, API, configuration, or UI behavior change. This restores the existing catalog test coverage while preserving the exact model inventory, provider filtering, legacy alias normalization, availability, runtime metadata, and timing assertions.
Why This Change Was Made
The Access-program projection owner already establishes Standard as the baseline for eligible OpenAI routes when no configured override exists, and focused owner tests cover both that baseline and configured Daybreak defaults. This change updates only the affected strict consumer expectations to include the field that owner already emits.
The provider-filtering case contains both configured and all-view assertions. Its first stale assertion previously stopped the test before the later all-view assertion ran, so both exact projections are updated together. The assertions remain strict; no partial matching, fixture substitution, or production fallback is introduced.
Evidence
src/gateway/server-methods/models.test.ts, each showing the expected row missing onlycyberAccessProgramDefault: "standard"; the same shard reported 1,007 passing tests and one skipped test.models.test.tsowner file passed all 51 tests.