From 4764a5228d175c004a49d4ef756b53582b3df4ef Mon Sep 17 00:00:00 2001 From: Willy Douhard Date: Thu, 30 May 2024 12:23:58 +0200 Subject: [PATCH] Release/1.1.300 (#1043) * enhance conversation spacing and make copilot expandable * fix non ascii characters for chat profiles * add input streaming support * fix message margin top --- backend/pyproject.toml | 4 ++-- frontend/src/App.css | 4 ++++ frontend/src/components/molecules/messages/Message.tsx | 7 ++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 53a73ba0e5..af989e0bf3 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "chainlit" -version = "1.1.300rc3" +version = "1.1.300rc4" keywords = [ 'LLM', 'Agents', @@ -27,7 +27,7 @@ chainlit = 'chainlit.cli:cli' [tool.poetry.dependencies] python = ">=3.8.1,<4.0.0" httpx = ">=0.23.0" -literalai = "0.0.602" +literalai = "0.0.604" dataclasses_json = "^0.5.7" fastapi = "^0.110.1" starlette = "^0.37.2" diff --git a/frontend/src/App.css b/frontend/src/App.css index 7e6a96945a..35cd8295a4 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -10,3 +10,7 @@ .markdown-body p { white-space: break-spaces; } + +.ai-message .markdown-body > :first-child { + margin-top: 0; +} diff --git a/frontend/src/components/molecules/messages/Message.tsx b/frontend/src/components/molecules/messages/Message.tsx index 08f7ce0635..43c9797b48 100644 --- a/frontend/src/components/molecules/messages/Message.tsx +++ b/frontend/src/components/molecules/messages/Message.tsx @@ -102,7 +102,12 @@ const Message = memo( )} ) : ( - +