@devries-cameron20 / composio-1 / commits / 5400e1664
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: add utf-8 encoding to tool generator export

Prevents UnicodeEncodeError on systems where the default encoding is not UTF-8. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmitha Mallesh committed Feb 25, 2026 at 19:20 UTC 5400e1664b1dd4f7df0286f57a0fd91bbb5a2d1a
1 file changed +1 -1
docs/examples/tool-generator/main.py
+1 -1
@@ -74,7 +74,7 @@ def export(toolkit_slug: str, output_file: str):
74 "no_auth": getattr(tool, "no_auth", False),
75 })
76
77 - with open(output_file, "w") as f:
77 + with open(output_file, "w", encoding="utf-8") as f:
78 json.dump(data, f, indent=2, default=str)
79
80 print(f"Exported {len(data)} tools to {output_file}")