Skip to content

Commit

Permalink
Release/1.1.300 (#1043)
Browse files Browse the repository at this point in the history
* enhance conversation spacing and make copilot expandable

* fix non ascii characters for chat profiles

* add input streaming support

* fix message margin top
  • Loading branch information
willydouhard authored May 30, 2024
1 parent d94b871 commit 4764a52
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "chainlit"
version = "1.1.300rc3"
version = "1.1.300rc4"
keywords = [
'LLM',
'Agents',
Expand All @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
.markdown-body p {
white-space: break-spaces;
}

.ai-message .markdown-body > :first-child {
margin-top: 0;
}
7 changes: 6 additions & 1 deletion frontend/src/components/molecules/messages/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@ const Message = memo(
)}
</Box>
) : (
<Stack direction="row" gap="1rem" width="100%">
<Stack
direction="row"
gap="1rem"
width="100%"
className="ai-message"
>
<MessageAvatar author={message.name} hide={!showAvatar} />
<Stack
alignItems="flex-start"
Expand Down

0 comments on commit 4764a52

Please sign in to comment.