[Auto Sync] Update simple_eval_common.py (20250923) (#10824)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: cctry <shiyang@x.ai>
This commit is contained in:
Lianmin Zheng
2025-09-23 13:50:47 -07:00
committed by GitHub
parent e290303ea1
commit 312bfc4c95

View File

@@ -136,7 +136,7 @@ class ChatCompletionSampler(SamplerBase):
self._pack_message("system", self.system_message)
] + message_list
trial = 0
while True:
while trial < 6: # 126 seconds in total
try:
response = self.client.chat.completions.create(
model=self.model,