refactor: remove temporary debug logging in code execution tool
- Eliminated the temporary debug logging in the `execute_code` function that tracked enabled and sandbox tools, streamlining the code and reducing clutter.
This commit is contained in:
@@ -342,10 +342,6 @@ def execute_code(
|
||||
session_tools = set(enabled_tools) if enabled_tools else set()
|
||||
sandbox_tools = frozenset(SANDBOX_ALLOWED_TOOLS & session_tools)
|
||||
|
||||
# Temporary debug — remove after investigating
|
||||
with open("/tmp/hermes_exec_debug.log", "a") as _dbg:
|
||||
_dbg.write(f"enabled_tools={enabled_tools}\nsandbox_tools={sandbox_tools}\n---\n")
|
||||
|
||||
if not sandbox_tools:
|
||||
sandbox_tools = SANDBOX_ALLOWED_TOOLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user