community[patch]: remove numpy cap for python < 3.12 (#30084)

This commit is contained in:
ccurme
2025-03-04 09:46:41 -05:00
committed by GitHub
parent 7eb6dde720
commit 484d945500
6 changed files with 175 additions and 4900 deletions

View File

@@ -1757,7 +1757,7 @@ class ChatModelIntegrationTests(ChatModelTests):
function_result = json.dumps({"result": 3})
tool_schema = my_adder_tool.args_schema
assert tool_schema is not None
assert isinstance(tool_schema, type) and issubclass(tool_schema, BaseModel)
few_shot_messages = tool_example_to_messages(
"What is 1 + 2",
[tool_schema(a=1, b=2)],