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 API key format
kaavee3157c0524614628
diff --git a/fern/generators/tool_doc_generator/templates/python/api_key.py b/fern/generators/tool_doc_generator/templates/python/api_key.pyindex 30ff43a0a..818ccc166 100644--- a/fern/generators/tool_doc_generator/templates/python/api_key.py+++ b/fern/generators/tool_doc_generator/templates/python/api_key.py@@ -14,7 +14,7 @@ def authenticate_toolkit(user_id: str, auth_config_id: str):connection_request = composio.connected_accounts.initiate(user_id=user_id,auth_config_id=auth_config_id,- config={"auth_scheme": "API_KEY", "val": user_api_key}+ config={"auth_scheme": "API_KEY", "val": {"generic_api_key": user_api_key}})# API Key authentication is immediate - no redirect neededdiff --git a/fern/snippets/tool-calling/python/auth-tools.py b/fern/snippets/tool-calling/python/auth-tools.pyindex da2f3661e..b1841020a 100644--- a/fern/snippets/tool-calling/python/auth-tools.py+++ b/fern/snippets/tool-calling/python/auth-tools.py@@ -29,7 +29,7 @@ user_api_key = "sk_1234567890"connection_request = composio.connected_accounts.initiate(user_id=user_id,auth_config_id=serp_auth_config_id,- config={"auth_scheme": "API_KEY", "val": user_api_key},+ config={"auth_scheme": "API_KEY", "val": {"generic_api_key": user_api_key}},)# Auth scheme config for Airtable Bearer