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
feat: add media message support in agent context and message tool
qullleebc9f861bb1ae
diff --git a/nanobot/agent/tools/message.py b/nanobot/agent/tools/message.pyindex 0a5242704..c8d50cf1e 100644--- a/nanobot/agent/tools/message.py+++ b/nanobot/agent/tools/message.py@@ -42,7 +42,12 @@ class MessageTool(Tool):@propertydef description(self) -> str:- return "Send a message to the user. Use this when you want to communicate something."+ return (+ "Send a message to the user, optionally with file attachments. "+ "This is the ONLY way to deliver files (images, documents, audio, video) to the user. "+ "Use the 'media' parameter with file paths to attach files. "+ "Do NOT use read_file to send files — that only reads content for your own analysis."+ )@propertydef parameters(self) -> dict[str, Any]: