We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d8c9f3 commit 44b432cCopy full SHA for 44b432c
1 file changed
packages/console/app/src/routes/zen/util/handler.ts
@@ -216,7 +216,7 @@ export async function handler(
216
// ie. 400 error is usually provider error like malformed request
217
res.status !== 400 &&
218
// ie. openai 404 error: Item with id 'msg_0ead8b004a3b165d0069436a6b6834819896da85b63b196a3f' not found.
219
- res.status !== 404 &&
+ !(modelInfo.id.startsWith("gpt-") && res.status === 404) &&
220
// ie. cannot change codex model providers mid-session
221
modelInfo.stickyProvider !== "strict" &&
222
modelInfo.fallbackProvider &&
0 commit comments