mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
add e2e test
This commit is contained in:
parent
0d9cbdebda
commit
e74a3e1e38
5 changed files with 61 additions and 4 deletions
|
|
@ -133,6 +133,7 @@ async def chat_completion(
|
|||
if hasattr(token.choices[0].delta, "content"):
|
||||
full_response += token.choices[0].delta.content
|
||||
else:
|
||||
logger.info("Stream is disabled, not engaging pre-filling")
|
||||
full_response = resp.choices[0].message.content
|
||||
|
||||
tool_calls = const.arch_function_hanlder.extract_tool_calls(full_response)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue