1.1.300
版本发布时间: 2024-06-13 22:54:02
Chainlit/chainlit最新发布版本:1.2.0rc0(2024-09-18 20:40:19)
Added
-
@cl.set_starters
andcl.Starter
to suggest conversation starters to the user - Teams integration
- Expand copilot button
- Debug mode when starting with
-d
. Only available if the data layer supports it. This replaces the Prompt Playground. -
default
theme config inconfig.toml
- If only one OAuth provider is set, automatically redirect the user to it
- Input streaming for tool calls
Changed
- [BREAKING] Custom endpoints have been reworked. You should now mount your Chainlit app as a FastAPI subapp.
-
[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
- The blue alert "Continuing chat" has been removed.
Fix
- 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 - Reworked message padding and spacing
- Chat profile should now support non-ASCII characters (like chinese)