Releases: Chainlit/chainlit
Releases · Chainlit/chainlit
1.1.300rc2
Added
Expand copilot button
Fix
Reworked message padding and spacing
Chat profile should now support non-ASCII characters (like chinese)
1.1.300rc1
Fix
- Scroll flickering when streaming
- Logo max height
1.1.300rc0
Added
- Debug mode when starting with
-d
. Only available if the data layer supports it. This replaces the Prompt Playground. @cl.set_starters
andcl.Starter
to suggest conversation starters to the userdefault
theme config inconfig.toml
- If only one OAuth provider is set, automatically redirect the user to it
Changed
- [BREAKING] Avatars have been reworked.
cl.Avatar
has been removed, instead place your avatars by name in/public/avatars/*
- [BREAKING] The
running
,took_one
andtook_other
translations have been replaced byused
. - [BREAKING]
root
attribute ofcl.Step
has been removed. Usecl.Message
to send root level messages. - Chain of Thought has been reworked. Only steps of type
tool
will be displayed ifhide_cot
is false - The
show_readme_as_default
config has been removed - No longer collapse root level messages
Fixed
- The Chat Profile description should now disappear when not hovered.
- Error handling of steps has been improved
- No longer stream the first token twice
- Copilot should now work as expected even if the user is closing/reopening it
- Copilot CSS should no longer leak/be impacted by the host website CSS
- Fix various
cl.Context
errors
1.1.202
Added
- Support for video players like youtube or vimeo
Fixed
- Fix audio capture on windows browsers
1.1.201
Fixed
- Intermediary steps button placement
1.1.200
Changed
- User message UI has been updated
- Loading indicator has been improved and visually updated
- Icons have been updated
- Dark theme is now the default
Fixed
- Scroll issues on mobile browsers
- Github button now showing
1.1.101
Added
- The discord bot now shows "typing" while responding
Fixed
- Discord and Slack bots should no longer fail to respond if the data layer fails
1.1.0
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 streamcl.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 defaulthttp_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)
1.1.0rc1
Changed
- bumped literalai package version to 0.0.600
1.1.0rc0
Added
cl.on_audio_chunk
decorator to process incoming the user incoming audio streamcl.on_audio_end
decorator to react to the end of the user audio stream- The
cl.Audio
element now has anauto_play
property 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
- [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
Fixed
- Stopping a task should now work better (using asyncio task.cancel)