-
Notifications
You must be signed in to change notification settings - Fork 16.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests[patch]: update API ref for chat models #28594
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -145,6 +145,14 @@ def chat_model_params(self) -> dict: | |||
By default, this is determined by whether the chat model's `bind_tools` method | |||
is overridden. It typically does not need to be overridden on the test class. | |||
|
|||
Example override: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice explicit
@@ -1323,8 +1331,8 @@ def has_tool_calling(self) -> bool: | |||
.. code-block:: python | |||
|
|||
@pytest.mark.xfail(reason=("Not implemented.")) | |||
def test_tool_message_histories_string_content(self, model: BaseChatModel) -> None: | |||
super().test_tool_message_histories_string_content(model) | |||
def test_tool_message_histories_string_content(self, *args: Any) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smart - should we pass **kwargs too? Just in case we add kwargs for some reason in future
No description provided.