Skip to content

Feature request: Make avatar size configurable #2743

@janjagusch

Description

@janjagusch

Feature Request

It would be great to have the ability to configure the avatar size in Chainlit.

Current Behavior

The avatar appears to be hardcoded to 20x20px, which can make custom logos or detailed avatars difficult to see clearly.

Desired Behavior

Allow users to configure the avatar size, either:

  • Via config.toml (e.g., avatar_size = 32)

Use Case

When using custom branding with a detailed logo, the 20x20px size is too small to display the design effectively. Being able to increase it to 32px, 40px, or larger would significantly improve the visual appearance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions