Files
9router/open-sse/executors
anuragg-saxenaa afe09f3f14 fix(github): strip thinking/reasoning_effort for Copilot chat completions (closes #623)
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
2026-04-17 12:54:50 +07:00
..
2026-04-01 11:48:38 +07:00
2026-03-12 16:20:46 +07:00
2026-04-06 17:32:44 +07:00
2026-03-31 15:44:19 +07:00