Skip to content

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

fix file helper not using outdir

Samarth Patel32bd02464fec
diff --git a/python/composio/core/models/_files.py b/python/composio/core/models/_files.py
index 985a0b84d..752142ca5 100644
--- a/python/composio/core/models/_files.py
+++ b/python/composio/core/models/_files.py
@@ -294,7 +294,7 @@ class FileHelper(WithLogger):
if self._is_file_downloadable(schema=params[_param]):
request[_param] = str(
FileDownloadable(**request[_param]).download(
- LOCAL_OUTPUT_FILE_DIRECTORY / tool.toolkit.slug / tool.slug
+ self._outdir / tool.toolkit.slug / tool.slug
)
)
continue