mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
feat(ai): improve default assistant experience
This commit is contained in:
1 parent
6d2ad097a3
commit
e4eb7fa683
21 files changed
+428
-112
No files matched your search
@@ -50,6 +50,7 @@ export function getAssistantManager(aiDataDir: string): AssistantManager {
|
||||
fs: nodeFs,
|
||||
assistantsDir: path.join(aiDataDir, 'assistants'),
|
||||
builtinRawConfigs: [],
|
||||
contentHash: (content: string) => createHash('sha256').update(content).digest('hex'),
|
||||
generateId: () => `custom_${randomUUID().replace(/-/g, '').slice(0, 12)}`,
|
||||
}),
|
||||
skill: new SkillManagerCore({
|
||||
|
||||
Reference in new issue
Block a user