From 60576fbf2f02985abd5a8a12bb47d2c12c1b12d8 Mon Sep 17 00:00:00 2001 From: Hans Heinemann Date: Sun, 15 Mar 2026 21:43:01 -0400 Subject: [PATCH] fix: remove hardcoded max_tokens/temperature from _dispatch_via_llm Both values are now sourced from team.yaml (models.default_max_tokens and models.default_temperature) via the adapter's __init__, eliminating the last hardcoded magic numbers. Callers can still override per-call via context dict if needed. --- core/team_runner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/team_runner.py b/core/team_runner.py index 5e1c105..5109f0a 100644 --- a/core/team_runner.py +++ b/core/team_runner.py @@ -328,8 +328,6 @@ class TeamRunner: capability=capability, context={ "system_prompt": system_prompt, - "max_tokens": 4096, - "temperature": 0, }, ) return self._extract_json(raw)