Releases: Chainlit/chainlit
Releases · Chainlit/chainlit
0.7.501
Fixed
- Langchain tool intermediate steps are now correctly displayed
0.7.500
Added
cl.on_chat_resume
decorator to enable users to continue a conversation.- Support for OpenAI functions in the Prompt Playground
- Ability to add/remove messages in the Prompt Playground
- Plotly element to display interactive charts
Fixed
- Langchain intermediate steps display are now much more readable
- Chat history loading latency has been enhanced
- UTF-8 characters are now correctly displayed in json code blocks
- Select widget
items
attribute is now working properly - Chat profiles widget is no longer scrolling horizontally
0.7.400
Added
- Support for Langchain Expression Language. https://docs.chainlit.io/integrations/langchain
- UI rendering optimization to guarantee high framerate
- Chainlit Cloud latency optimization
- Speech recognition to type messages. https://docs.chainlit.io/backend/config/features
- Descope OAuth provider
Changed
LangchainCallbackHandler
is now displaying inputs and outputs of intermediate steps.
Fixed
- AskUserMessage now work properly with data persistence
- You can now use a custom okta authorization server for authentication
0.7.301
Fixed
- Minor UI details
0.7.3
Added
ChatProfile
allows to configure different agents that the user can freely chose- Multi modal support at the input bar level. Enabled by
features.multi_modal
in the config cl.AskUserAction
allows to block code execution until the user clicked an action.- Displaying readme when chat is empty is now configurable through
ui.show_readme_as_default
in the config
Changed
cl.on_message
is no longer taking a string as parameter but rather acl.Message
Fixed
- Chat history is now correctly displayed on mobile
- Azure AD OAuth authentication should now correctly display the user profile picture
Removed
@cl.on_file_upload
is replaced by true multi modal support at the input bar level
0.7.2
Added
- Logo is displayed in the UI header (works with custom logo)
- Azure AD single tenant is now supported
collapsed
attribute on theAction
class- Latency improvements when data persistence is enabled
Changed
- Chat history has been entirely reworked
- Chat messages redesign
config.ui.base_url
becomesCHAINLIT_URL
env variable
Fixed
- File watcher (-w) is now working with nested module imports
- Unsupported character during OAuth authentication
0.7.1
Added
- Pydantic v2 support
- Okta auth provider
- Auth0 auth provider
- Prompt playground support for mix of template/formatted prompts
@cl.on_chat_end
decorator- Textual comments to user feedback
Fixed
- Langchain errors are now correctly indented
- Langchain nested chains prompts are now correctly displayed
- Langchain error TypeError: 'NoneType' object is not a mapping.
- Actions are now displayed on mobile
- Custom logo is now working as intended
0.7.0
Changed
- Authentication is now unopinionated:
@cl.password_auth_callback
for login/password auth@cl.oauth_callback
for oAuth auth@cl.header_auth_callback
for header auth
- Data persistence is now enabled through
CHAINLIT_API_KEY
env variable
Removed
@cl.auth_client_factory
(see new authentication)@cl.db_client_factory
(see new data persistence)
Added
disable_human_feedback
parameter oncl.Message
- Configurable logo
- Configurable favicon
- Custom CSS injection
- GCP Vertex AI LLM provider
- Long message collpasing feature flag
- Enable Prompt Playground feature flag
Fixed
- History page filters now work properly
- History page does not show empty conversations anymore
- Langchain callback handler Message errors
0.6.402
Fix
- Prevent langchain to be imported by default
0.6.401
Fix
follow_symlink
for asset mount now defaults toFalse
and is configurablecl.Message
now attempts to stringify the content if content is not a string and not a dict