GitHub Copilot /chat/completions endpoint does not support the thinking
or reasoning_effort fields. OpenClaw sends thinking: { type: "enabled" }
for Claude models which causes a 400 Bad Request.
Added supportsThinking() and strip both fields in transformRequest before
sending to the upstream endpoint.
Co-authored-by: anuragg-saxenaa <anuragg.saxenaa@gmail.com>
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 | ||