fix: gate reasoning_effort by LiteLLM model registry (closes #517) (#523)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Ahmed Allam
2026-06-07 12:24:48 -07:00
committed by GitHub
co-authored by Claude Opus 4.7
parent 1aad460f6e
commit 13046cc74a
3 changed files with 26 additions and 3 deletions
+4 -1
View File
@@ -153,7 +153,10 @@ async def run_strix_scan(
is_whitebox = any(t.get("type") == "local_code" for t in targets)
skills = list(scan_config.get("skills") or [])
root_task = build_root_task(scan_config)
model_settings = make_model_settings(settings.llm.reasoning_effort)
model_settings = make_model_settings(
settings.llm.reasoning_effort,
model_name=resolved_model,
)
run_config = RunConfig(
model=resolved_model,
model_settings=model_settings,