Skip to content

Commit

Permalink
updat
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Aug 19, 2024
1 parent 7202cdd commit fc11b47
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Standard LangChain interface tests"""

from typing import Type
from typing import Optional, Type

from langchain_core.language_models import BaseChatModel
from langchain_standard_tests.integration_tests import ( # type: ignore[import-not-found]
Expand All @@ -18,3 +18,8 @@ def chat_model_class(self) -> Type[BaseChatModel]:
@property
def chat_model_params(self) -> dict:
return {"model": "mistral-large-latest", "temperature": 0}

@property
def tool_choice_value(self) -> Optional[str]:
"""Value to use for tool choice when used in tests."""
return "any"

0 comments on commit fc11b47

Please sign in to comment.