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
|
|
@ -28,8 +28,8 @@ class ChatCompletionResponse(BaseModel):
|
|||
id: Optional[int] = 0
|
||||
object: Optional[str] = "chat_completion"
|
||||
created: Optional[str] = ""
|
||||
model: str
|
||||
choices: List[Choice]
|
||||
model: str
|
||||
|
||||
|
||||
class ArchBaseHandler:
|
||||
|
|
@ -124,7 +124,7 @@ class ArchBaseHandler:
|
|||
|
||||
if tools:
|
||||
processed_messages.append(
|
||||
{"role": "system", "content": self._format_system(tools)}
|
||||
{"role": "system", "content": self._format_system_prompt(tools)}
|
||||
)
|
||||
|
||||
for message in messages:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue