mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
Fix the issue of Arch-Intent
This commit is contained in:
parent
4fcfd83639
commit
818ec0a9db
4 changed files with 7 additions and 9 deletions
|
|
@ -108,7 +108,9 @@ class ArchIntentHandler(ArchBaseHandler):
|
|||
extra_body=self.generation_params,
|
||||
)
|
||||
|
||||
model_response = Message(content=model_response, tool_calls=[])
|
||||
model_response = Message(
|
||||
content=model_response.choices[0].message.content, tool_calls=[]
|
||||
)
|
||||
|
||||
chat_completion_response = ChatCompletionResponse(
|
||||
choices=[Choice(message=model_response)], model=self.model_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue