now the agent is able to transmit and bring browser use logs to telegram in a human-readable form

This commit is contained in:
Artem Timoshenko 2026-05-05 01:03:54 +03:00
parent 69106ec711
commit b90fb85ab3
10 changed files with 1498 additions and 73 deletions

View file

@ -4709,6 +4709,7 @@ class AIAgent:
enabled_tools=list(self.valid_tool_names) if self.valid_tool_names else None,
honcho_manager=self._honcho,
honcho_session_key=self._honcho_session_key,
tool_progress_callback=self.tool_progress_callback,
)
def _execute_tool_calls_concurrent(self, assistant_message, messages: list, effective_task_id: str, api_call_count: int = 0) -> None:
@ -5077,6 +5078,7 @@ class AIAgent:
enabled_tools=list(self.valid_tool_names) if self.valid_tool_names else None,
honcho_manager=self._honcho,
honcho_session_key=self._honcho_session_key,
tool_progress_callback=self.tool_progress_callback,
)
_spinner_result = function_result
except Exception as tool_error:
@ -5093,6 +5095,7 @@ class AIAgent:
enabled_tools=list(self.valid_tool_names) if self.valid_tool_names else None,
honcho_manager=self._honcho,
honcho_session_key=self._honcho_session_key,
tool_progress_callback=self.tool_progress_callback,
)
except Exception as tool_error:
function_result = f"Error executing tool '{function_name}': {tool_error}"