format fix
This commit is contained in:
parent
1e8681497c
commit
a8560afedc
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user