core[patch]: exclude special pydantic init params (#25084)

This commit is contained in:
Bagatur
2024-08-05 16:32:51 -07:00
committed by GitHub
parent 63ddf0afb4
commit e572521f2a
3 changed files with 8 additions and 7 deletions

View File

@@ -285,10 +285,7 @@ class ChatModelIntegrationTests(ChatModelTests):
assert isinstance(chunk, dict) # for mypy
assert set(chunk.keys()) == {"setup", "punchline"}
def test_tool_message_histories_string_content(
self,
model: BaseChatModel,
) -> None:
def test_tool_message_histories_string_content(self, model: BaseChatModel) -> None:
"""
Test that message histories are compatible with string tool contents
(e.g. OpenAI).