From 289fad1868fd6bfa368fef93b2577273a5ffe94a Mon Sep 17 00:00:00 2001 From: Janig88 Date: Tue, 7 Jul 2026 16:01:59 +0300 Subject: [PATCH] fix(auxiliary): thread task=task through _build_call_kwargs in fallback helpers --- agent/auxiliary_client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agent/auxiliary_client.py b/agent/auxiliary_client.py index 93358604b5a2..abfd9d9b418e 100644 --- a/agent/auxiliary_client.py +++ b/agent/auxiliary_client.py @@ -3932,7 +3932,7 @@ def _call_fallback_candidate_sync( temperature=temperature, max_tokens=max_tokens, tools=tools, timeout=effective_timeout, extra_body=effective_extra_body, reasoning_config=reasoning_config, - base_url=fb_base) + base_url=fb_base, task=task) try: return _validate_llm_response( fb_client.chat.completions.create(**fb_kwargs), task) @@ -3949,7 +3949,7 @@ def _call_fallback_candidate_sync( tools=tools, timeout=effective_timeout, extra_body=effective_extra_body, reasoning_config=reasoning_config, - base_url=str(getattr(retry_client, "base_url", "") or fb_base)) + base_url=str(getattr(retry_client, "base_url", "") or fb_base), task=task) try: return _validate_llm_response( retry_client.chat.completions.create(**retry_kwargs), task) @@ -3998,7 +3998,7 @@ async def _call_fallback_candidate_async( temperature=temperature, max_tokens=max_tokens, tools=tools, timeout=effective_timeout, extra_body=effective_extra_body, reasoning_config=reasoning_config, - base_url=fb_base) + base_url=fb_base, task=task) try: return _validate_llm_response( await fb_client.chat.completions.create(**fb_kwargs), task) @@ -4016,7 +4016,7 @@ async def _call_fallback_candidate_async( tools=tools, timeout=effective_timeout, extra_body=effective_extra_body, reasoning_config=reasoning_config, - base_url=str(getattr(retry_client, "base_url", "") or fb_base)) + base_url=str(getattr(retry_client, "base_url", "") or fb_base), task=task) try: return _validate_llm_response( await retry_client.chat.completions.create(**retry_kwargs), task)