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

bug (AIConversation): Conversation component renders incorrectly for some slower models #6234

Open
4 tasks done
cwoolum opened this issue Dec 4, 2024 · 3 comments
Open
4 tasks done
Labels
AI An issue or a feature-request for an AI UI Component AIConversation bug Something isn't working

Comments

@cwoolum
Copy link

cwoolum commented Dec 4, 2024

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Other

How is your app built?

React/Vite

What browsers are you seeing the problem on?

Chrome

Which region are you seeing the problem in?

us-west-2

Please describe your bug.

When querying one of the new Nova models, during a long conversational response, I noticed the response stopped streaming. Looking at the networking tab, I see that data was still being returned.

What's the expected behaviour?

I would expect the information to keep rendering until streaming stops.

Help us reproduce the bug!

Connecting to the Nova Micro model, invoke a tool which causes a long response.

Example repo here

https://github.com/cwoolum/fwm-304

Snag_4f4e61e9

Reach out to me for the HAR.

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify UI maintainer labels Dec 4, 2024
@calebpollman
Copy link
Member

@cwoolum Thanks for raising this! Will look in to it

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify UI maintainer label Dec 4, 2024
@dindjarinjs
Copy link
Contributor

@cwoolum Can you please give us access to the example repo?

@dindjarinjs
Copy link
Contributor

dindjarinjs commented Dec 10, 2024

Was able to reproduce that when the streaming pauses and then resumes, the conversation is appended to the beginning of the message. I can only reproduce this so far with Nova Lite and Nova Micro.

@dindjarinjs dindjarinjs added bug Something isn't working AI An issue or a feature-request for an AI UI Component AIConversation and removed pending-triage Issue is pending triage labels Dec 10, 2024
@dindjarinjs dindjarinjs changed the title Conversation component stops responding even though AppSync continues streaming data bug (AIConversation): Conversation component renders incorrectly for some slower models Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI An issue or a feature-request for an AI UI Component AIConversation bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants