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

refactor(ui): handling the completions response within the Chat component #2149

Merged
merged 6 commits into from
May 17, 2024

Conversation

liangfung
Copy link
Collaborator

@liangfung liangfung commented May 16, 2024

  1. Handling the completions response within the Chat component to make integration more convenient. Remove 'usePatchFetch' from playground.

  2. Add basic chat error handling, there are two types of errors: Unauthorized and Fail to fetch.
    https://jam.dev/c/c7add69d-9fa5-4f67-adf8-a2648087cb9a

@liangfung liangfung changed the title refactor(ui): handling the rcompletions response within the Chat component refactor(ui): handling the completions response within the Chat component May 16, 2024
@liangfung liangfung requested review from wsxiaoys and wwayne May 16, 2024 14:54
@liangfung liangfung marked this pull request as ready for review May 16, 2024 14:54
@wsxiaoys wsxiaoys merged commit 1f1f1d3 into main May 17, 2024
4 checks passed
@wsxiaoys wsxiaoys deleted the fix-ui-chat-component-fetch-response branch May 17, 2024 03:24
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.

None yet

3 participants