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

Hide Stop Generating button when no messages #921

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

iseabock
Copy link
Contributor

Motivation and Context

Previously the "Stop Generating" button would show when there wasn't a message being generated. This was cause by the logic check if cosmodb was loading.

Description

To address this we check if cosmodb isLoading and if there are messages in the messages array.
Screenshot 2024-06-12 121349

Contribution Checklist

  • I have built and tested the code locally and in a deployed app
  • For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
  • This is a change for all users of this app. No code or asset is specific to my use case or my organization.
  • I didn't break any existing functionality 😄

@iseabock iseabock self-assigned this Jun 12, 2024
@iseabock iseabock merged commit ee58110 into main Jun 13, 2024
8 checks passed
@iseabock iseabock deleted the NO-TASK-hide-stop-generating-button-when-no-messages branch June 13, 2024 17:53
sudo-init pushed a commit to sudo-init/sample-app-chatGPT that referenced this pull request Sep 20, 2024
Co-authored-by: Ian Seabock (Centific Technologies Inc) <[email protected]>
nikhilnagaraj pushed a commit to Admin-bh-Edge/Edge-Comp-Policies that referenced this pull request Oct 2, 2024
Co-authored-by: Ian Seabock (Centific Technologies Inc) <[email protected]>
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.

2 participants