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: connected account circular reference bug
angrybaybladef1fbb123f2b0
diff --git a/python/composio/core/models/connected_accounts.py b/python/composio/core/models/connected_accounts.pyindex 9e64d79af..46edaf58e 100644--- a/python/composio/core/models/connected_accounts.py+++ b/python/composio/core/models/connected_accounts.py@@ -325,10 +325,10 @@ class ConnectedAccounts:"""connection: dict[str, t.Any] = {"user_id": user_id}if callback_url is not None:- connection["callback_url"] = connection+ connection["callback_url"] = callback_urlif config is not None:- connection["state"] = connection+ connection["state"] = configresponse = self._client.connected_accounts.create(auth_config={"id": auth_config_id},