Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context messages #350

Merged
merged 2 commits into from
Jan 4, 2023
Merged

Context messages #350

merged 2 commits into from
Jan 4, 2023

Conversation

kostiak
Copy link
Contributor

@kostiak kostiak commented Jan 4, 2023

Adding a potential fix for #339

It looks like this now:
image

Let me know if I need to change anything.

{messages.map((message, i) => {
return (
<Box key={i}>
<span>{message.is_assistant ? "Assistant: " : "User: "}</span>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later this could look good with a Chakra label or some icon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Complete agree. Got something basic working, and left the design for someone who's stronger in that area.

Copy link
Collaborator

@fozziethebeat fozziethebeat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional and simple! In it goes

@fozziethebeat fozziethebeat merged commit 66662d9 into LAION-AI:main Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants