[Benchmark] fix multi turn (#6948)

This commit is contained in:
Zhang Yulong
2026-03-20 13:22:30 +08:00
committed by GitHub
parent aca733b95c
commit 3a4e139f65
+1 -1
View File
@@ -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: