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

Modified append-response-messages to prevent exceptions when messages are passed as an empty array #4840

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

m-rlin
Copy link

@m-rlin m-rlin commented Feb 11, 2025

I am using this function to convert from Core Message to UI Message, and I have modified the code so that no exception occurs even when an empty array is passed to the messages parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant