The Chainlit UI (including the copilot) has been completely re-written with Shadcn/Tailwind. This brings several advantages:
- The codebase is simpler and more contribution friendly.
- It enabled the new custom element feature.
- The theme customisation is more powerful.
Added
- Custom Elements (code your own elements)
Cmd+k
thread search- Thread rename
- Official PostGres open source data layer
- New
@data_layer
decorator for configuring custom data layers declaratively
Changed
- Authentication is now based on cookies. Cross Origins are disallowed unless added in
allow_origins
in theconfig.toml
file - No longer need to click on
resume
to resume a thread - [breaking]: Theme customisation is now handled in
public/theme.json
instead ofconfig.toml
. - [breaking]: Changed fields on the
Action
class:- The
value
field has replaced withpayload
which accepts a Python dict - The
description
field has been renamedtooltip
- The field
icon
has been added - The
collapsed
field has been removed.
- The
- [breaking]: Completely revamped audio implementation (#1401, #1410):
- Replaced
AudioChunk
withInputAudioChunk
andOutputAudioChunk
- Changed default audio sampling rate from 44100 to 24000
- Removed several audio configuration options (
min_decibels
,initial_silence_timeout
,silence_timeout
,chunk_duration
,max_duration
)
- Replaced
Fixed
- Autoscaling of Chainlit app behind a load balancer should now work. Don't forget to enable sticky sessions