superseded by #1263: make Azure and cross-provider fallbacks executable - #1213
superseded by #1263: make Azure and cross-provider fallbacks executable#1213seonghobae wants to merge 32 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
@opencode-agent Review only exact current head 5dbf903. Verify the trusted status-3 boundary, unchanged-finding attribution, provider-exhaustion neutralization, and fail-closed changed/unmapped/configuration paths. Submit a formal Reviews API verdict without changing the branch, self-approving, or bypassing protection. |
|
@opencode-agent Re-review exact current head 5dbf903 now that all hosted checks are terminal-success and the informational Devin thread is resolved. Submit the formal Reviews API verdict; do not mutate the branch or bypass protection. |
|
@opencode-agent Please review exact head |
Exact-head verification refresh
|
|
Caution Review failedAn error occurred during the review process. Please try again later. 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. Comment |
…edentials run_strix_once() computed normalized_model only for credential/API-base selection (is_vertex_model, is_github_models_model, and the openai_direct/* fallback-key case), but called child_model_for_api_base() with the raw, un-normalized $model. A hyphenated STRIX_FALLBACK_MODELS entry (openai-direct/gpt-5.6-luna) therefore reached child_model_for_api_base unrewritten -- its own openai_direct/* case never matched a hyphen -- and was dispatched to LiteLLM verbatim as an unrecognized provider string, even though normalize_model() (already fixed in this branch) and child_model_for_api_base() both handle the alias correctly on their own. Observed live on this PR's own strix check: the run advanced through two NVIDIA NIM rate limits to the openai-direct/gpt-5.6-luna fallback, the log recorded "model=openai-direct/gpt-5.6-luna" verbatim, and litellm.BadRequestError: LLM Provider NOT provided ended the scan. Move the normalized_model computation before the child_model_for_api_base call and reuse it there, instead of computing it a second time afterward for credentials only. New regression test extracts run_strix_once's own two-statement model/API-base resolution call site verbatim (rather than reimplementing the composition) so a future call site edit that stops normalizing before dispatch fails this test, not just live NVIDIA NIM traffic.
|
Exact-current-head verification for
This is source/test evidence only. The PR still targets stacked base |
Superseded by #1263 and closed without merge.
The effective eight-file patch moved unchanged to protected
mainat exact headf89c0c58ca3f31611af0d2d58ec9c8acbb70b61f; the stable patch-id is identical. This PR's unprotected stack base forcedpull_request_targetStrix to execute the older trusted gate, so it could only reproduce theopenai-direct/alias failure that the patch fixes. #1263 removes that circular validation dependency without losing product code, weakening checks, rewriting history, or bypassing protection.