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
|
|
@ -86,7 +86,7 @@ async def test_chat_completion(mock_hanlder, mock_client):
|
|||
mock_client.chat.completions.create.return_value = mock_response
|
||||
|
||||
# Mock the tool formatter
|
||||
mock_hanlder._format_system.return_value = "<formatted_tools>"
|
||||
mock_hanlder._format_system_prompt.return_value = "<formatted_tools>"
|
||||
|
||||
response = Response()
|
||||
chat_response = await chat_completion(request, response)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue