Skip to content

Pairit Platform 2026.10.18

Choose a tag to compare

@harangju harangju released this 18 Oct 17:40
a4da5c4

Deployed to production. Nothing to upgrade.

What's new

  • Chat avatars from session state. A chat's avatars.participant can use {{session_state.<key>}}. The value comes from the sender's state and is saved with each message, so everyone in the chat sees the same avatar for that person, and it appears in the data export. To give each group member a different avatar, use a distributed randomization:

    - id: chat
      onEnter:
        - type: randomize
          scope: group
          distribute: true
          conditions: [leaf, sun]
          stateKey: avatar
      components:
        - type: chat
          props:
            avatars:
              participant: "{{session_state.avatar}}"

    Docs: https://docs.pairium.ai/pairit/components/chat/#avatars-from-session-state

  • New example: Fruit split demo. https://docs.pairium.ai/pairit/examples/#fruit-split

Action needed

An avatar is now a single string: an icon name or an image path. Update agents and chat avatars:

Before After
avatar: { icon: bot } avatar: bot
avatar: { image: /a.png } avatar: /a.png

The old form no longer works and shows the default avatar. Re-upload affected configs with pairit config upload.