Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 22:15 UTC
fix(tool-router): opt agentic sessions into direct offload (#3314)
## Description - Opt provider-wrapped Tool Router session preloaded tools into direct tool workbench offload by sending `enable_auto_workbench_offload: true` from TS and Python agentic execution wrappers. - Keep manual `session.execute(...)` and custom-tool `SessionContext.execute(...)` paths unchanged so they continue to receive inline responses by default. - Bump generated clients to `@composio/client@0.1.0-alpha.68` and `composio-client==1.35.0`, then use the generated session execute request field instead of local type overrides / `extra_body`. - Preserve the existing session execute endpoint path and modifier behavior; this PR only adds the agentic offload opt-in. ## Testing - `pnpm --filter @composio/core test -- tools.test.ts` - `pnpm --filter @composio/core typecheck` - `uv run pytest python/tests/test_tool_router.py python/tests/test_custom_tools.py -q` - `uvx uv lock --check` - Checked SDK PR #3314 review comments: Abir's client-package/type-override comment is addressed by the latest commit.
No changes.