FN-6158: handle Codex auth-tier model incompatibility
Gracefully recover from unsupported Codex model selections on ChatGPT-account auth tiers. - detect Codex and general model-auth-tier incompatibility errors as retryable model-selection failures - trigger configured fallback models during session creation and prompt-time retries, with actionable operator guidance when no fallback works - document the expanded fallback behavior and add engine regression coverage plus a CLI changeset Files changed: .changeset/fn-6158-model-compatibility-fallback.md | 5 + docs/settings-reference.md | 2 +- .../pi-prompt-session-and-check-recursion.test.ts | 25 ++++ packages/engine/src/__tests__/pi.test.ts | 136 ++++++++++++++++++++- .../src/__tests__/transient-error-detector.test.ts | 24 ++++ packages/engine/src/pi.ts | 21 +++- packages/engine/src/transient-error-detector.ts | 24 ++++ 7 files changed, 234 insertions(+), 3 deletions(-) Fusion-Task-Id: FN-6158 Fusion-Task-Lineage: 3e91f647-40f1-4296-afa4-40861310e1c1
This commit is contained in:
5
.changeset/fn-6158-model-compatibility-fallback.md
Normal file
5
.changeset/fn-6158-model-compatibility-fallback.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Detect Codex model-auth-tier incompatibility as a model-selection error, trigger configured fallback models, and surface an actionable diagnostic when no fallback is available.
|
||||
Reference in New Issue
Block a user