Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(python): align custom_toolkits type annotation with ExperimentalToolkit union
Dhawal Upadhyay07c413bc4a73
diff --git a/python/composio/core/models/tool_router.py b/python/composio/core/models/tool_router.pyindex 8cefafd6b..232ec933f 100644--- a/python/composio/core/models/tool_router.py+++ b/python/composio/core/models/tool_router.py@@ -712,7 +712,9 @@ class ToolRouter(Resource, t.Generic[TTool, TToolCollection]):# Map SDK's experimental.assistive_prompt.user_timezone to API's# experimental.assistive_prompt_config.user_timezonecustom_tools: t.Optional[t.List[CustomTool]] = None- custom_toolkits: t.Optional[t.List[CustomToolkit]] = None+ custom_toolkits: t.Optional[+ t.List[t.Union[CustomToolkit, ExperimentalToolkit]]+ ] = Noneif experimental is not None:experimental_payload: t.Dict[str, t.Any] = {}