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

fix: add progress loading for common input #3181

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

pipiiiiii
Copy link
Contributor

@pipiiiiii pipiiiiii commented Nov 17, 2023

Types

  • 🐛 Bug Fixes

Background or solution

🤖[deprecated] Generated by Copilot at 38a0351

  • Import EMsgStreamStatus enum to use as a prop for Thinking component (link)
  • Pass EMsgStreamStatus.THINKING as status prop to Thinking component in ai-chat.view.tsx to indicate AI processing (link)
  • Coerce status prop to boolean in Thinking component in components/Thinking.tsx to avoid rendering Progress component when idle (link)

Changelog

🤖[deprecated] Generated by Copilot at 38a0351

Added a status prop to the Thinking component to show the AI's progress in the chat view. Fixed a bug where the Progress component would render when the AI was idle.

@opensumi opensumi bot added the 🐞 bug Something isn't working label Nov 17, 2023
@pipiiiiii pipiiiiii merged commit 24cc1d6 into chore/ai-native-module Nov 17, 2023
5 checks passed
@pipiiiiii pipiiiiii deleted the fix/progress-response branch November 17, 2023 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant