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

Improve loading state feedback for LLM responses #55

Open
1 task done
jdisho opened this issue Jan 15, 2025 · 1 comment
Open
1 task done

Improve loading state feedback for LLM responses #55

jdisho opened this issue Jan 15, 2025 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jdisho
Copy link
Collaborator

jdisho commented Jan 15, 2025

Problem

When you’re waiting for a response from the LLM, you’ll see a spinner in the top-left corner of the chat interface. IMO this has a couple of drawbacks:

  • The placement of the spinner isn’t very intuitive, making it easy to overlook.
  • It also blocks you from closing the chat view while the response is still loading.

Solution

  • Instead of a spinner, we could use an ellipsis (”…”) that animates right where the response will appear, making it clear where to look for the incoming message.
  • We should also allow users to close the chat window during this time. Any pending requests should be canceled and cleaned.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@jdisho jdisho added the enhancement New feature or request label Jan 15, 2025
@PSchmiedmayer PSchmiedmayer added the good first issue Good for newcomers label Jan 19, 2025
@PSchmiedmayer
Copy link
Member

Great idea; we should look at the functionality in SpeziChat, we already support some message typing indicator that we could use here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants