mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 12:10:18 +00:00
server
: fix tailing comma in completions_seed
This commit is contained in:
parent
45b243b4a5
commit
9e366b3d03
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user