mirror of
https://github.com/katanemo/plano.git
synced 2026-07-11 16:12:13 +02:00
fix stream
This commit is contained in:
parent
2e71c326c8
commit
f1ff510c91
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ async def chat_completion(req: ChatMessage, res: Response):
|
||||||
resp = const.arch_function_client.chat.completions.create(
|
resp = const.arch_function_client.chat.completions.create(
|
||||||
messages=messages,
|
messages=messages,
|
||||||
model=client_model_name,
|
model=client_model_name,
|
||||||
stream=False,
|
stream=True,
|
||||||
extra_body=const.arch_function_generation_params,
|
extra_body=const.arch_function_generation_params,
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue