Chainlit
AI & LLMsBuild Conversational AI in minutes ⚡️
Release History
View all versions →2.12.0Breaking13 fixes3 featuresThis security release addresses critical vulnerabilities in the `/mcp` endpoint, requiring migration of MCP configuration and client-side connections. It also includes dependency upgrades and various bug fixes.
2.11.13 fixes1 featureThis patch introduces the ability to pass chat_profile to the set_starter_categories callback and fixes several issues related to socket reconnection, LangChain version checking, and locale resolution.
2.11.013 fixes7 featuresThis release introduces several new features, including customizable UI elements, Polars support for dataframes, and improved PDF viewing. Numerous bug fixes address issues related to UI interactions, OAuth configuration, and data handling.
2.10.11 fixThis patch release primarily addresses a security vulnerability by validating session ownership during websocket restoration and updates the npm publishing process to use OIDC.
2.10.08 fixes14 featuresThis release introduces several new configuration options, improved UI behavior for favorites and chat history, and adds support for Danish and Arabic translations. It also includes various bug fixes related to data handling and UI rendering.
2.9.63 featuresThis release introduces several new UI features, including a Date Picker widget and controls for chat settings, alongside an option to skip chat confirmation.
2.9.51 fix2 featuresThis release introduces the ability to save favorite messages (prompt templates) and fetch steps from the data layer. It also includes a fix for how starters handle the selected mode.
2.9.4Breaking2 fixes3 featuresThis release introduces new features like thread sharing icons and auto-scroll disabling, alongside a critical database migration step for users utilizing persistence and a security fix.
2.9.36 fixes4 featuresThis release introduces native video support, language configuration options, and optimizes chat message rendering. It also includes several bug fixes, notably addressing page blinking after login and updating LangChain imports for v1.x compatibility.
2.9.21 fixThis release primarily focuses on adding new tests across various components like cache, translations, OAuth providers, chat context, and sockets. It also includes a fix for a copilot breaking change.
2.9.14 featuresThis release introduces several new features, including query param prefill for chat and markdown support in the watermark, alongside extensive additions of unit tests across various components.
2.9.01 featureThis release focuses on improving the Multi Agent Support within Chainlit.
2.8.51 fix3 featuresThis release introduces new features like raw OAuth responses and Slack event handling, alongside a minor security fix and removal of the FastAPI version constraint.
2.8.48 fixes2 featuresThis release introduces GitHub Enterprise support and an explicit disable option for the input widget, alongside numerous bug fixes addressing UI, data persistence, and translation issues.
2.8.31 featureThis release introduces support for the target attribute in header links and includes updates to the CI/CD publishing workflow. The @chainlit/react-client package has also been updated to version 0.3.0.
2.8.23 fixes1 featureThis release focuses on minor bug fixes, including ensuring on_chat_start fires reliably and fixing a Copilot hotkey conflict, alongside a UX improvement to disable autoFocus on mobile MessageComposer.
2.8.11 fix4 featuresThis patch release introduces new language translations (German and Korean) and adds support for custom meta URLs, alongside a fix for signed URL generation in the SQLAlchemy datalayer.
2.8.06 fixes5 featuresThis release introduces significant new input widget types (MultiSelect, RadioGroup, Checkbox) and adds Thread Sharing functionality. It also includes numerous bug fixes related to data persistence, configuration reloading, and internationalization.
2.7.22 fixes3 featuresThis release introduces dynamic configuration improvements, adds Traditional Chinese translations, and makes user environment persistence configurable. It also deprecates LiteralAI and optimizes optional dependency loading.
2.7.1.11 fixThis patch release primarily fixes an issue where frontend assets were not being included as artifacts.
2.7.1Breaking4 fixes5 featuresThis release introduces Slack Socket Mode, dynamic configuration for ChatProfiles, and rewrites the chat input for better command handling. It also reverts a breaking change related to custom authentication, requiring users to update their environment variables.
2.7.0Breaking3 fixes5 featuresThis release introduces Slack Socket Mode, dynamic configuration for ChatProfiles, and modernizes the chat input interface. It also updates the authentication secret environment variable used for custom login requirements.
2.6.93 fixes3 featuresThis release introduces new features like threadId for Slack feedback and a blinking cursor, alongside several bug fixes including resolving a gzip issue with Safari websockets.
2.6.81 fixThis release reverts a previous fix concerning the preservation of line breaks in received messages.
2.6.71 fixThis release primarily fixes an issue related to formatting when pasting HTML code and newlines in received messages. It also removes the unused `font_family` configuration setting.
Common Errors
FileNotFoundError4 reportsFileNotFoundError in Chainlit often arises because the frontend build files are missing from the installed package or source code. To fix it, ensure you've run `chainlit build` in your project directory (if developing from source) or reinstall Chainlit with `pip install chainlit --upgrade` to obtain a complete package with the necessary frontend assets. If using a development install, make sure the frontend is built (`cd frontend && npm install && npm run build`) and linked in the main directory (`chainlit link`).
NoEventLoopError3 reportsModuleNotFoundError3 reportsA "ModuleNotFoundError" in Chainlit usually means a required Python package is missing from your environment. To fix this, identify the missing module from the error message (e.g., "google-cloud-storage") and install it using pip: `pip install <missing_module>`. If you are using Langchain, ensure all necessary integration packages (like `langchain-openai`) are installed, and that they are compatible versions with Chainlit.
NotNullViolationError2 reportsInvalidRequestError1 reportInvalidRequestError in Chainlit often arises from conflicts or inconsistencies during database operations, especially when using SQLAlchemy. This can happen when metadata definitions in your SQLAlchemy declarative base clash with existing database structures or Chainlit's internal schema. Resolve this by carefully reviewing and aligning your SQLAlchemy model definitions, ensuring they don't redefine or conflict with existing tables/metadata managed by Chainlit, and consider using a separate schema for your application's models if necessary.
PostgresSyntaxError1 reportThis error usually arises from an incorrect SQL query being sent to the Postgres database, often due to syntax errors introduced during a database migration or update. Examine the SQL queries executed during the failing operation, especially any custom migrations, and correct any syntax errors like misplaced semicolons or incorrect table/column names. Double-check your database schema against your code to ensure compatibility and consider reverting to a previous version if necessary to diagnose the problematic migration step triggering the error.
Related AI & LLMs Packages
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Get up and running with OpenAI gpt-oss, DeepSeek-R1, Gemma 3 and other models.
🦜🔗 The platform for reliable agents.
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
LLM inference in C/C++
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
Subscribe to Updates
Get notified when new versions are released