Fix user avatar for Duo Agentic Chat

What does this MR do and why?

The avatarUrl must be provided when using the duo chat component in order for user avatars to be populated properly. I fixed this for Duo Chat classic/V2 in !201526 (merged), but did not realize that a separate change was required for agentic chat as well.

References

Screenshots or screen recordings

Before After
Screenshot_2025-08-29_at_11.54.11 Screenshot_2025-08-29_at_11.54.03

How to set up and validate locally

  1. Check out this branch
  2. in the GDK, send a message to agentic Duo chat
  3. you will see your GDK user's avatar is reflected correctly in the message you send

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading