Skip to content

Conversation

Barani05072002
Copy link

Title: Add Chat Settings Invocation via @ Keyword (#2850)

Hello friends. I saw one of the feature enhancement issue in chainlit repo #2580. PR introduces a new way for users to invoke chat settings using the '@' keyword. The feature enhances input interaction by supporting both '@' and '/' triggers:

  • Typing @ now displays the chat settings input prompt.
  • Typing / continues to show input values as before.
  • This dual-trigger approach improves accessibility and flexibility for users interacting with chat settings.

All relevant UI and backend logic have been updated to support this behavior.

Let me know if you'd like to add screenshots to related issues or discussions from the [#2580].

Thanks.

Barani05072002 and others added 4 commits October 10, 2025 11:34
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request frontend Pertains to the frontend. labels Oct 11, 2025
@hayescode
Copy link
Contributor

@Barani05072002 you want to invoke chat settings with the @ sign, not commands? Are you using a multi-agent framework?

Chainlit is behind the curve on multi-agent support. It's one of the top major features requests. I'd love to see a right-hand side pane to do this because you're not alone. Sub agents can have way too many settings to fit in chat_settings.

@Barani05072002
Copy link
Author

@Barani05072002 you want to invoke chat settings with the @ sign, not commands? Are you using a multi-agent framework?

Chainlit is behind the curve on multi-agent support. It's one of the top major features requests. I'd love to see a right-hand side pane to do this because you're not alone. Sub agents can have way too many settings to fit in chat_settings.

Thanks for the feedback! Yes, in this pull request, using the @ sign allows us to invoke chat settings, not commands. We already have the option to invoke commands using the / sign. In Chainlit, the chat settings can include multiple select-options, so I added a feature that lets you invoke chat settings using a combination of @ and /. When you click @, it shows the chat settings input, and after choosing the required option, you can use / to select the appropriate value.

Choosing Chat_settings Input
image

Choosing Value of the Input
image

after choosed the Value
image

That’s how it works for now — currently, I can only invoke the Select type options from the chat settings, not sliders or radio buttons. Let me know if you’d like to see the code I used in this image, or if we want to enhance it further to support other types.

@hayescode
Copy link
Contributor

I think this would be a temporary workaround and should be configurable in config.toml. Please add example and explanation to the docs along with the Select-only limitation.

@Barani05072002
Copy link
Author

Hello @hayescode, I’ve added documentation for invoking Chat Settings using the combination of @ and / symbols. You can find it in docs docs #269.

Could you please review and merge it? Let me know if any changes are needed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Pertains to the frontend. size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants