mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
fix(composio): stop direct-mode invalid key polling (#4318)
This commit is contained in:
@@ -197,6 +197,15 @@ export function handleIntegrations(ctx) {
|
||||
// (chat/completions is handled by routes/llm.mjs ahead of this route)
|
||||
|
||||
// ── Composio ───────────────────────────────────────────────
|
||||
if (
|
||||
method === "GET" &&
|
||||
/^\/(?:api\/v3\/)?connected_accounts\/?(\?.*)?$/.test(url)
|
||||
) {
|
||||
const items = parseBehaviorJson("composioDirectConnectedAccounts", []);
|
||||
json(res, 200, { items });
|
||||
return true;
|
||||
}
|
||||
|
||||
if (
|
||||
method === "GET" &&
|
||||
/^\/agent-integrations\/composio\/toolkits\/?(\?.*)?$/.test(url)
|
||||
|
||||
Reference in New Issue
Block a user