Skip to content

Conversation

@pytorchbot
Copy link
Collaborator

When user clears chat history and then give a prompt, there is a OOB error. This occurs since getRecentSavedTextMessages() didn't check for an empty Message Arraylist.

Summary:
When user clears chat history and then give a prompt, there is a OOB error. This occurs since `getRecentSavedTextMessages()` didn't check for an empty Message Arraylist.

Pull Request resolved: #5770

Reviewed By: Riandy

Differential Revision: D63659827

Pulled By: cmodi-meta

fbshipit-source-id: 1e3157a8f1c17cb1e4b94f9ff7287b53a2b4f2af
(cherry picked from commit f0662bb)
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 30, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5775

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 26f5452 with merge base eecf74f (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 30, 2024
@jackzhxng jackzhxng merged commit 1a120d9 into release/0.4 Oct 1, 2024
36 checks passed
@jackzhxng jackzhxng deleted the cherry-pick-5770-by-pytorch_bot_bot_ branch October 1, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants