Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszOssGit committed Oct 8, 2024
1 parent 5ace260 commit 97d36f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/ibm/tests/integration_tests/test_chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ def test_22a_bind_tools_tool_choice_as_class() -> None:
model_id=MODEL_ID_TOOL,
url=URL, # type: ignore[arg-type]
project_id=WX_PROJECT_ID,
params={"temperature": 0},
)

class Person(BaseModel):
Expand All @@ -428,6 +429,7 @@ def test_22b_bind_tools_tool_choice_as_dict() -> None:
model_id=MODEL_ID_TOOL,
url=URL, # type: ignore[arg-type]
project_id=WX_PROJECT_ID,
params={"temperature": 0},
)

class Person(BaseModel):
Expand Down Expand Up @@ -455,6 +457,7 @@ def test_23a_bind_tools_list_tool_choice_dict() -> None:
model_id=MODEL_ID_TOOL,
url=URL, # type: ignore[arg-type]
project_id=WX_PROJECT_ID,
params={"temperature": 0},
)

@tool
Expand Down Expand Up @@ -495,6 +498,7 @@ def test_23_bind_tools_list_tool_choice_auto() -> None:
model_id=MODEL_ID_TOOL,
url=URL, # type: ignore[arg-type]
project_id=WX_PROJECT_ID,
params={"temperature": 0},
)

@tool
Expand Down

0 comments on commit 97d36f3

Please sign in to comment.