OpenAI GPT-5 improvements (#9)
A series of fixes for making GPT-5 reliable and effective with anyclaude. ## UX changes - Converts opaque OpenAI service errors into 429s so CC natively retries instead of failing. These are very common. - Rich debugging support via `ANYCLAUDE_DEBUG` - Supports specifying reasoning effort and service tier ## Codebase - Added CI ## Remaining issues - GPT-5 often fails to use the native tool calls. These failures seems intermittent.
This commit is contained in:
parent
43894b0ac9
commit
f42e03937e
11 changed files with 802 additions and 24 deletions
|
|
@ -31,6 +31,12 @@
|
|||
"description": "Run Claude Code with OpenAI, Google, xAI, and others.",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "bun build --target node --outfile dist/main.js ./src/main.ts --format cjs --external ai --external @ai-sdk/* --external zod && node -e \"const fs=require('fs');const p='dist/main.js';fs.writeFileSync(p,'#!/usr/bin/env node\\n'+fs.readFileSync(p,'utf8'))\" && chmod +x dist/main.js"
|
||||
"build": "bun build --target node --outfile dist/main.js ./src/main.ts --format cjs --external ai --external @ai-sdk/* --external zod && node -e \"const fs=require('fs');const p='dist/main.js';fs.writeFileSync(p,'#!/usr/bin/env node\\n'+fs.readFileSync(p,'utf8'))\" && chmod +x dist/main.js",
|
||||
"test": "bun test",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/yargs-parser": "^21.0.3",
|
||||
"yargs-parser": "^22.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue