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

Display spinner while waiting for OpenAI response #21

Closed
3 tasks
jonulak opened this issue Nov 19, 2024 · 0 comments · Fixed by #25
Closed
3 tasks

Display spinner while waiting for OpenAI response #21

jonulak opened this issue Nov 19, 2024 · 0 comments · Fixed by #25
Assignees

Comments

@jonulak
Copy link
Contributor

jonulak commented Nov 19, 2024

Add spinner element while awaiting API response

Type: Feature
Assigned To: @jonulak
Priority: Low
Status: To Do

Description

Add an st.spinner element to the chat display while waiting for a response from the OpenAI API

Current State

  • While waiting for a response from the OpenAI API the app displays an empty chat bubble
  • It's not clear to the user what the app is doing or if it has stopped working

Files Affected

  • app.py

Acceptance Criteria

  • Implement st.spinner element with a label
  • Spinner should disappear once the response is displayed
  • All existing tests pass
@jonulak jonulak self-assigned this Nov 21, 2024
@jonulak jonulak added this to VetsAI Nov 21, 2024
@jonulak jonulak moved this to Todo in VetsAI Nov 21, 2024
@jonulak jonulak linked a pull request Nov 25, 2024 that will close this issue
3 tasks
@jonulak jonulak mentioned this issue Nov 25, 2024
3 tasks
@jonulak jonulak closed this as completed by moving to Done in VetsAI Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant