mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
removing logs
This commit is contained in:
@@ -85,7 +85,6 @@ class ToolUsage:
|
|||||||
def use(
|
def use(
|
||||||
self, calling: Union[ToolCalling, InstructorToolCalling], tool_string: str
|
self, calling: Union[ToolCalling, InstructorToolCalling], tool_string: str
|
||||||
) -> str:
|
) -> str:
|
||||||
print("calling", calling)
|
|
||||||
if isinstance(calling, ToolUsageErrorException):
|
if isinstance(calling, ToolUsageErrorException):
|
||||||
error = calling.message
|
error = calling.message
|
||||||
if self.agent.verbose:
|
if self.agent.verbose:
|
||||||
@@ -332,7 +331,6 @@ class ToolUsage:
|
|||||||
arguments=tool_object["arguments"],
|
arguments=tool_object["arguments"],
|
||||||
log=tool_string, # type: ignore
|
log=tool_string, # type: ignore
|
||||||
)
|
)
|
||||||
print("calling", calling)
|
|
||||||
|
|
||||||
if isinstance(calling, ConverterError):
|
if isinstance(calling, ConverterError):
|
||||||
raise calling
|
raise calling
|
||||||
|
|||||||
Reference in New Issue
Block a user