Releases: Chainlit/chainlit
Releases · Chainlit/chainlit
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)
1.0.506
What's Changed
- pasting from microsoft products generates text instead of an image by @tpatel in #934
- add support for
multiline
option inTextInput
chat settings field input by @kevinwmerritt in #945 - do not prevent thread revalidation by @kevinwmerritt in #944
- display the label instead of the value for menu item by @kevinwmerritt in #943
- disable gzip middleware to prevent a compression issue on safari by @tpatel in #952
Full Changelog: 1.0.505...1.0.506
1.0.505
What's Changed
- Add the user's browser languages in the user session by @tpatel in #889
- chore: label new issues as "needs-triage" by @tpatel in #914
- make auto tag thread opt in by @willydouhard in #927
- Fix SQLAlchemyDataLayer in sql_alchemy.py by @mohamedalani in #921
- fix flaky parent for openai instrumentation by @willydouhard in #931
- Allow html in text elements by @jdb78 in #893
- Allow for setting a
ChatProfile
default by @kevinwmerritt in #930 - Update thread list on first interaction by @tpatel in #923
- bump version by @tpatel in #932
New Contributors
- @mohamedalani made their first contribution in #921
- @jdb78 made their first contribution in #893
- @kevinwmerritt made their first contribution in #930
Full Changelog: 1.0.504...1.0.505