[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:
@@ -136,7 +136,7 @@ class ChatCompletionSampler(SamplerBase):
|
|||||||
self._pack_message("system", self.system_message)
|
self._pack_message("system", self.system_message)
|
||||||
] + message_list
|
] + message_list
|
||||||
trial = 0
|
trial = 0
|
||||||
while True:
|
while trial < 6: # 126 seconds in total
|
||||||
try:
|
try:
|
||||||
response = self.client.chat.completions.create(
|
response = self.client.chat.completions.create(
|
||||||
model=self.model,
|
model=self.model,
|
||||||
|
|||||||
Reference in New Issue
Block a user