From 3a4e139f65901a41ed78a206d61de0bde0ce7a06 Mon Sep 17 00:00:00 2001 From: Zhang Yulong <35552275+ZhangYulongg@users.noreply.github.com> Date: Fri, 20 Mar 2026 13:22:30 +0800 Subject: [PATCH] [Benchmark] fix multi turn (#6948) --- benchmarks/backend_request_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/backend_request_func.py b/benchmarks/backend_request_func.py index 6bb33e3d12..0ddd2b4542 100644 --- a/benchmarks/backend_request_func.py +++ b/benchmarks/backend_request_func.py @@ -658,7 +658,6 @@ async def async_request_eb_openai_chat_completions_multi_turn( else: print(f"Warning exceed max_loop={max_loop}, force stop tool loop") - prompt_no += 1 else: # ć— tools history.append( @@ -667,6 +666,7 @@ async def async_request_eb_openai_chat_completions_multi_turn( "content": output.generated_text, } ) + prompt_no += 1 elif message["role"] == "assistant": continue else: