fix(ui): restore root-relative avatar URL support
This commit is contained in:
parent
7690395efe
commit
7943602d0c
@ -194,7 +194,7 @@ export function normalizeAgentLabel(agent: {
|
||||
return agent.name?.trim() || agent.identity?.name?.trim() || agent.id;
|
||||
}
|
||||
|
||||
const AVATAR_URL_RE = /^(https?:\/\/|data:image\/|blob:)/i;
|
||||
const AVATAR_URL_RE = /^(https?:\/\/|data:image\/|blob:|\/)/i;
|
||||
|
||||
export function resolveAgentAvatarUrl(
|
||||
agent: { identity?: { avatar?: string; avatarUrl?: string } },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user