Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Filter out actions without tool attribute when parsing tool logs
Tomas Valentaa4b5b0f11579
diff --git a/api-service/codegen/callbacks/log_parser.py b/api-service/codegen/callbacks/log_parser.pyindex 4cea05a54..c84668373 100644--- a/api-service/codegen/callbacks/log_parser.py+++ b/api-service/codegen/callbacks/log_parser.py@@ -78,6 +78,7 @@ class LogStreamParser:"tool_input": action.text or "",}for action in parse_action_string(action_string)+ if action.attrib.get("tool", False)]# Update tools' logs with the information from ingested tools' outputs.