feat: show status reaction during context compaction (#35474)
Merged via squash. Prepared head SHA: 145a7b7c4e1939718c41a300899ae813bd9c511b Co-authored-by: Cypherm <28184436+Cypherm@users.noreply.github.com> Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com> Reviewed-by: @jalehman
This commit is contained in:
@@ -115,9 +115,14 @@ describe("agentLogoUrl", () => {
|
||||
describe("resolveAgentAvatarUrl", () => {
|
||||
it("prefers a runtime avatar URL over non-URL identity avatars", () => {
|
||||
expect(
|
||||
resolveAgentAvatarUrl({ identity: { avatar: "A", avatarUrl: "/avatar/main" } }, {
|
||||
avatar: "A",
|
||||
} as { avatar: string }),
|
||||
resolveAgentAvatarUrl(
|
||||
{ identity: { avatar: "A", avatarUrl: "/avatar/main" } },
|
||||
{
|
||||
agentId: "main",
|
||||
avatar: "A",
|
||||
name: "Main",
|
||||
},
|
||||
),
|
||||
).toBe("/avatar/main");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user