The previous blanket strip in GithubExecutor.transformRequest removed `thinking` AND `reasoning_effort` for every GitHub-routed model to avoid Claude-on-Copilot 400s from OpenClaw. That regressed GPT-5 family support (gh/gpt-5-mini honors reasoning_effort: low/medium/high). Make supportsThinking(model) model-aware — return false only for Claude models, so the strip fires only where the upstream actually rejects these fields. Benchmarks on /v1/chat/completions via GitHub Copilot: effort=(none) → 64 reasoning_tokens, ~2.0s effort=low → 0 reasoning_tokens, ~1.55s effort=medium → 64 reasoning_tokens, ~1.9s effort=high → 128 reasoning_tokens, ~2.2s Made-with: Cursor |
||
|---|---|---|
| .. | ||
| antigravity.js | ||
| base.js | ||
| codex.js | ||
| cursor.js | ||
| default.js | ||
| gemini-cli.js | ||
| github.js | ||
| iflow.js | ||
| index.js | ||
| kiro.js | ||
| opencode.js | ||
| qoder.js | ||
| qwen.js | ||
| vertex.js | ||