1.1.0
版本发布时间: 2024-05-13 22:01:36
Chainlit/chainlit最新发布版本:1.2.0rc0(2024-09-18 20:40:19)
Added
- You can know serve your Chainlit app as a Slack bot
- You can know serve your Chainlit app as a Discord bot
-
cl.on_audio_chunk
decorator to process incoming the user incoming audio stream -
cl.on_audio_end
decorator to react to the end of the user audio stream - The
cl.Audio
element now has anauto_play
property -
layout
theme config, wide or default -
http_referer
is now available incl.user_session
Changed
- The UI has been revamped, especially the navigation
- The arrow up button has been removed from the input bar, however pressing the arrow up key still opens the last inputs menu
- The user session will no longer be persisted as metadata if > 1mb
-
[breaking] the
send()
method oncl.Message
now returns the message instead of the message id -
[breaking] The
multi_modal
feature has been renamedspontaneous_file_upload
in the config - Element display property now defaults to
inline
instead ofside
- The SQL Alchemy data layer logging has been improved
Fixed
- Fixed a bug disconnecting the user when loading the chat history
- Elements based on an URL should now have a mime type
- Stopping a task should now work better (using asyncio task.cancel)