removing logs

This commit is contained in:
João Moura
2024-09-23 19:59:23 -03:00
parent 8abe4d98ed
commit 9eeebd3c65

View File

@@ -85,7 +85,6 @@ class ToolUsage:
def use(
self, calling: Union[ToolCalling, InstructorToolCalling], tool_string: str
) -> str:
print("calling", calling)
if isinstance(calling, ToolUsageErrorException):
error = calling.message
if self.agent.verbose:
@@ -332,7 +331,6 @@ class ToolUsage:
arguments=tool_object["arguments"],
log=tool_string, # type: ignore
)
print("calling", calling)
if isinstance(calling, ConverterError):
raise calling