fix(openrouter): pass reasoning.effort based on thinking level (#14664) (#17236)

* fix(openrouter): pass reasoning.effort to OpenRouter API (#14664)

* Agents: pass thinkLevel to extra-params wrapper

* Changelog: note fix/openrouter-reasoning-effort-14664 OpenRouter fix

* Changelog: fix OpenRouter entry text

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
This commit is contained in:
Robby
2026-02-22 18:14:12 +01:00
committed by GitHub
parent ecf2cff9cd
commit 99cfb3dab2
3 changed files with 53 additions and 6 deletions

View File

@@ -736,6 +736,7 @@ export async function runEmbeddedAttempt(
params.provider,
params.modelId,
params.streamParams,
params.thinkLevel,
);
if (cacheTrace) {