Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix(filesystem): correct write success message from bytes to characters
Leo fu44c799209556
diff --git a/nanobot/agent/tools/filesystem.py b/nanobot/agent/tools/filesystem.pyindex 11f05c557..27ae3ccd9 100644--- a/nanobot/agent/tools/filesystem.py+++ b/nanobot/agent/tools/filesystem.py@@ -186,7 +186,7 @@ class WriteFileTool(_FsTool):fp = self._resolve(path)fp.parent.mkdir(parents=True, exist_ok=True)fp.write_text(content, encoding="utf-8")- return f"Successfully wrote {len(content)} bytes to {fp}"+ return f"Successfully wrote {len(content)} characters to {fp}"except PermissionError as e:return f"Error: {e}"except Exception as e: