Cache Composio tools and load saved settings in the UI
Tools are now cached per-org with a 5-minute TTL to avoid hitting the Composio API on every agent run. The ComposioPanel loads the currently saved API key status and pre-checks enabled toolkits from the snapshot, so users see their existing configuration when opening Settings > Tools.
This commit is contained in:
1 parent
3d685e5a4b
commit
e83f379143
5 files changed
+59
-7
No files matched your search
@@ -162,6 +162,7 @@ export class SnapshotService {
|
||||
.map((rule) => ({ ...rule, enabled: toBool(rule.enabled) })),
|
||||
meetings: list(this.db, "meetings", "scheduled_at desc"),
|
||||
sprints: list(this.db, "sprints", "start_date desc"),
|
||||
composioSettings: list(this.db, "composio_settings", "org_id asc, key asc"),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user