MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / applyOwnerProfileAfterImport

Function applyOwnerProfileAfterImport

src/stores/session.ts:730–736  ·  view source on GitHub ↗

* 导入成功后静默尝试应用平台 owner profile(失败不影响导入流程)

(id: string)

Source from the content-addressed store, hash-verified

728 * 导入成功后静默尝试应用平台 owner profile(失败不影响导入流程)
729 */
730 async function applyOwnerProfileAfterImport(id: string): Promise<void> {
731 try {
732 await tryApplyOwnerProfile(id)
733 } catch (error) {
734 console.warn('导入后应用 owner profile 失败:', error)
735 }
736 }
737
738 // 置顶会话 ID 列表
739 const pinnedSessionIds = ref<string[]>([])

Callers 2

importFileFromPathFunction · 0.85
importFilesFromPathsFunction · 0.85

Calls 2

tryApplyOwnerProfileFunction · 0.70
warnMethod · 0.65

Tested by

no test coverage detected