Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🚨 chore: fix lint

arvinxx728ce7344d7b
diff --git a/src/store/agent/slices/knowledge/action.ts b/src/store/agent/slices/knowledge/action.ts
index 414636a3f14..fe29069c026 100644
--- a/src/store/agent/slices/knowledge/action.ts
+++ b/src/store/agent/slices/knowledge/action.ts
@@ -21,7 +21,7 @@ export interface KnowledgeSliceAction {
removeKnowledgeBaseFromAgent: (knowledgeBaseId: string) => Promise<void>;
toggleFile: (id: string, open?: boolean) => Promise<void>;
toggleKnowledgeBase: (id: string, open?: boolean) => Promise<void>;
- useFetchFilesAndKnowledgeBases: (agentId: string) => SWRResponse<KnowledgeItem[]>;
+ useFetchFilesAndKnowledgeBases: (agentId?: string) => SWRResponse<KnowledgeItem[]>;
}
export const createKnowledgeSlice: StateCreator<