Chainlit

Latest version: v1.1.101

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

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 stream
- `cl.on_audio_end` decorator to react to the end of the user audio stream
- The `cl.Audio` element now has an `auto_play` property
- `layout` theme config, wide or default
- `http_referer` is now available in `cl.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 on `cl.Message` now returns the message instead of the message id
- **[breaking]** The `multi_modal` feature has been renamed `spontaneous_file_upload` in the config
- Element display property now defaults to `inline` instead of `side`
- 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.0.506

Added

- add support for multiline option in TextInput chat settings field - kevinwmerritt

Changed

- disable gzip middleware to prevent a compression issue on safari

Fixed

- pasting from microsoft products generates text instead of an image
- do not prevent thread history revalidation - kevinwmerritt
- display the label instead of the value for menu item - kevinwmerritt

Added

1.0.505

Added

- The user's browser language configuration is available in `cl.user_session.get("languages")`
- Allow html in text elements - jdb78
- Allow for setting a ChatProfile default - kevinwmerritt

Changed

- The thread history refreshes right after a new thread is created.
- The thread auto-tagging feature is now opt-in using `auto_tag_thread` in the config.toml file

Fixed

- Fixed incorrect step ancestor in the OpenAI instrumentation
- Enabled having a `storage_provider` set to `None` in SQLAlchemyDataLayer - mohamedalani
- Correctly serialize `generation` in SQLAlchemyDataLayer - mohamedalani

1.0.504

Changed

- Chainlit apps should function correctly even if the data layer is down

1.0.503

Added

- Enable persisting threads using a Custom Data Layer (through SQLAlchemy) - hayescode

Changed

- React-client: Expose `sessionId` in `useChatSession`
- Add chat profile as thread tag metadata

Fixed

- Add quotes around the chainlit create-secret CLI output to avoid any issues with special characters

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.