server: fix tailing comma in completions_seed

This commit is contained in:
ochafik 2024-09-26 02:15:48 +01:00
parent 45b243b4a5
commit 9e366b3d03

View File

@ -488,7 +488,7 @@ async def step_oai_chat_completions(context, api_error):
if context.debug:
print(f"Submitting OAI compatible completions request...")
expect_api_error = api_error == 'raised'
seeds = await completions_seed(context, num_seeds=1),
seeds = await completions_seed(context, num_seeds=1)
completion = await oai_chat_completions(context.prompts.pop(),
seeds[0] if seeds is not None else seeds,
context.system_prompt,