Skip to content

Commit 2e5b691

Browse files
dwc1997claude
andcommitted
fix(ui): scope bootstrap avatar loading by agent ID
Thread the resolved assistantAgentId through the bootstrap local override read so that per-agent avatars are applied during startup/reload. Co-Authored-By: Claude Opus 4.8 <[email protected]>
1 parent 7f3c4ae commit 2e5b691

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/ui/controllers/control-ui-bootstrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function resolveBootstrapAgentId(value: string | null | undefined): string | nul
4545
}
4646

4747
function applyLocalAssistantAvatarOverride(state: ControlUiBootstrapState) {
48-
const localAvatar = loadLocalAssistantIdentity().avatar;
48+
const localAvatar = loadLocalAssistantIdentity(state.assistantAgentId ?? undefined).avatar;
4949
if (!localAvatar) {
5050
return;
5151
}

0 commit comments

Comments
 (0)