format fix

This commit is contained in:
Cyrus Goh 2026-01-25 13:59:39 -08:00
parent 1e8681497c
commit a8560afedc
No known key found for this signature in database
GPG Key ID: D547D2AF3FD0FD5A

View File

@ -191,7 +191,7 @@ function renderAvatar(role: string, assistant?: Pick<AssistantIdentity, "name" |
function isAvatarUrl(value: string): boolean {
return (
/^https?:\/\//i.test(value) || /^data:image\//i.test(value) || value.startsWith('/') // Relative paths from avatar endpoint
/^https?:\/\//i.test(value) || /^data:image\//i.test(value) || value.startsWith("/") // Relative paths from avatar endpoint
);
}