Skip to content

Commit 1191c5f

Browse files
committed
minor test fix
1 parent dfe9e56 commit 1191c5f

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

osbot_llms/llms/prompt_to_json/Prompt_To_Json__Open_AI.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
from typing import List, Dict
2-
from pydantic._internal._model_construction import ModelMetaclass
3-
4-
from osbot_llms.llms.API_Open_AI import API_Open_AI
5-
from osbot_utils.base_classes.Type_Safe import Type_Safe
6-
from osbot_utils.context_managers.capture_duration import capture_duration
7-
from osbot_utils.helpers.Timestamp_Now import Timestamp_Now
8-
from osbot_utils.utils.Json import str_to_json
1+
from typing import List, Dict
2+
from pydantic._internal._model_construction import ModelMetaclass
3+
from osbot_llms.llms.API_Open_AI import API_Open_AI
4+
from osbot_utils.base_classes.Type_Safe import Type_Safe
5+
from osbot_utils.context_managers.capture_duration import capture_duration
6+
from osbot_utils.helpers.Timestamp_Now import Timestamp_Now
7+
from osbot_utils.utils.Json import str_to_json
98

109

1110
class Prompt_To_Json__Open_AI(Type_Safe):

tests/integration/llms/providers/open_router/test_LLM_Open_Router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test__init__(self):
2828

2929
def test_send_user_prompt(self):
3030
user_prompt = "2+2"
31-
self.llm_open_router.add_message__system('reply in one word only')
31+
self.llm_open_router.add_message__system('reply in one number only')
3232
response = self.llm_open_router.send_user_prompt(user_prompt=user_prompt)
3333
if response.get('status') == 'error':
3434
raise Exception(f"Error: {pformat(response)}")

0 commit comments

Comments
 (0)