diff --git a/src/lib/commandCenter/panels/ai.svelte b/src/lib/commandCenter/panels/ai.svelte index 7aac568a6..85bd9fb9f 100644 --- a/src/lib/commandCenter/panels/ai.svelte +++ b/src/lib/commandCenter/panels/ai.svelte @@ -76,6 +76,11 @@ } $: answer = parseCompletion($completion); + + function getInitials(name: string) { + const [first, last] = name.split(' '); + return `${first[0]}${last[0]}`; + }