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

Unresponsive Chat #77

Open
1 task done
rosiecakes5 opened this issue Mar 11, 2025 · 5 comments
Open
1 task done

Unresponsive Chat #77

rosiecakes5 opened this issue Mar 11, 2025 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@rosiecakes5
Copy link

Description

Chat stops responding, and resolves once restarting the app

Image

Reproduction

This occurred when I began a new chat.

Expected behavior

Chat would send greeting message

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@rosiecakes5 rosiecakes5 added the bug Something isn't working label Mar 11, 2025
@philippzagar philippzagar self-assigned this Mar 12, 2025
@philippzagar
Copy link
Collaborator

Thanks for raising the issue @rosiecakes5! 🚀

Just to clarify: Does the chat stay in this "loading" state forever or does it throw an error at some point, e.g. a network timeout?

@PSchmiedmayer
Copy link
Member

@philippzagar @rosiecakes5 I suspect that this is due to a log of tool calls in the background. If it stays there forever we might have a state management issue.

In the long run, we should use this as a motivation to highlight some of the underlying state (such as tool calls and other things) to the user in a very simple manner like OpenAI does it using their shimmering effect.

@philippzagar
Copy link
Collaborator

@philippzagar @rosiecakes5 I didn't experience an infinite hang in my extended testing yesterday. @jdisho What about you?
@rosiecakes5 Can you share a bit more about the exact error case here, especially if it really is an infinite hang?

Totally agree with @PSchmiedmayer, we should expose more information regarding such long-running function calls to the user: StanfordSpezi/SpeziLLM#108

@jdisho
Copy link
Member

jdisho commented Mar 12, 2025

There were so many nasty errors yesterday but I do remember some instances that this ended up loading indefinitely. After working on #80 I didn't notice any kind of bug in this form.

@PSchmiedmayer
Copy link
Member

Thank you @jdisho!

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

No branches or pull requests

4 participants