feat: integrate learning module
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-16 20:52:16 +08:00
parent 26b52d76e3
commit 01bee3188b
107 changed files with 6318 additions and 12063 deletions

View File

@@ -73,6 +73,10 @@ export function isUserProfileComplete(profile: AgentUserProfile | undefined): bo
return Boolean(profile?.displayName.trim());
}
export function getUserProfileDisplayName(profile: AgentUserProfile | undefined): string {
return profile?.displayName.trim() ?? '';
}
function fromServerProfile(
profile: AgentProfileRead,
fallbackAvatarUrl: string | null = null,