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
@@ -138,4 +138,12 @@ export interface AppSnapshot {
|
||||
automationRules: AutomationRuleRecord[];
|
||||
meetings: MeetingRecord[];
|
||||
sprints: SprintRecord[];
|
||||
composioSettings: ComposioSettingRecord[];
|
||||
}
|
||||
|
||||
export interface ComposioSettingRecord {
|
||||
orgId: string;
|
||||
key: string;
|
||||
value: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
Reference in new issue
Block a user