changed from yellow to purple for visibility
This commit is contained in:
GabeKoga
2024-04-05 18:25:59 -03:00
committed by GitHub
parent 2c0e5586e8
commit aebc443b62
3 changed files with 12 additions and 12 deletions

View File

@@ -101,7 +101,7 @@ class ToolUsage:
result = self._i18n.errors("task_repeated_usage").format(
tool_names=self.tools_names
)
self._printer.print(content=f"\n\n{result}\n", color="yellow")
self._printer.print(content=f"\n\n{result}\n", color="purple")
self._telemetry.tool_repeated_usage(
llm=self.function_calling_llm,
tool_name=tool.name,
@@ -178,7 +178,7 @@ class ToolUsage:
calling=calling, output=result, should_cache=should_cache
)
self._printer.print(content=f"\n\n{result}\n", color="yellow")
self._printer.print(content=f"\n\n{result}\n", color="purple")
self._telemetry.tool_usage(
llm=self.function_calling_llm,
tool_name=tool.name,