From 911279dd515be7962012734ab294d980dce6cb1f Mon Sep 17 00:00:00 2001 From: Arsenii Shatokhin Date: Thu, 15 Aug 2024 11:05:54 +0400 Subject: [PATCH] Fix test --- agency_swarm/tools/BaseTool.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agency_swarm/tools/BaseTool.py b/agency_swarm/tools/BaseTool.py index 6f1545b4..c36aa8e2 100644 --- a/agency_swarm/tools/BaseTool.py +++ b/agency_swarm/tools/BaseTool.py @@ -68,7 +68,9 @@ def openai_schema(cls): if strict: schema["strict"] = True schema["parameters"]["additionalProperties"] = False - + else: + schema["strict"] = False + return schema @abstractmethod