fix(ai): use OpenRouter reasoning payload (#2298)

* fix(ai): use OpenRouter reasoning payload

* fix(coding-agent): stop updating packages on startup closes #1963

* fix(ai): add openrouter thinkingFormat compat

---------

Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
This commit is contained in:
PriNova
2026-03-18 11:23:27 +01:00
committed by GitHub
parent 68da22f18c
commit f704ee7255
4 changed files with 46 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ const OpenAICompletionsCompatSchema = Type.Object({
thinkingFormat: Type.Optional(
Type.Union([
Type.Literal("openai"),
Type.Literal("openrouter"),
Type.Literal("zai"),
Type.Literal("qwen"),
Type.Literal("qwen-chat-template"),