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

[BUG]: Error occurred while streaming response. Streaming error #2302

Open
saisandeepbalbari opened this issue Sep 17, 2024 · 1 comment
Open
Labels
needs info / can't replicate Issues that require additional information and/or cannot currently be replicated, but possible bug

Comments

@saisandeepbalbari
Copy link

How are you running AnythingLLM?

Docker (remote machine)

What happened?

I'm using OLLAMA's nomic-embed-text as the embedding model and llama3.1:8b as the LLM.

After I upload the documents, when asked a question, it is generating the sentence partially and then giving the streaming error

Screenshot 2024-09-17 at 12 32 16 PM

On checking the logs of the docker are as below:

[Event Logged] - workspace_documents_added
[OllamaEmbedder] Embedding 1 chunks of text with nomic-embed-text:latest.
[STREAM ABORTED] Client requested to abort stream. Exiting LLM stream handler early.
[TELEMETRY SENT] {
event: 'sent_chat',
distinctId: 'xxxxxxxx-xxxx-xxxxx-xxxxxx-xxxxxxxxxxxxxxxx',
properties: {
multiUserMode: false,
LLMSelection: 'ollama',
Embedder: 'ollama',
VectorDbSelection: 'lancedb',
runtime: 'docker'
}
}
[Event Logged] - sent_chat

Are there known steps to reproduce?

No response

@saisandeepbalbari saisandeepbalbari added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Sep 17, 2024
@timothycarambat
Copy link
Member

Client requested to abort stream. Exiting LLM stream handler early.

This is certainly something on the client side then which would occur from:

  • a websocket close
  • Browser connection to server interrupted (page reload)

What does frontend inspector > source show? Should be some relevant error there since this is the client dropping the connection and not the server aborting the connection

@timothycarambat timothycarambat added needs info / can't replicate Issues that require additional information and/or cannot currently be replicated, but possible bug and removed possible bug Bug was reported but is not confirmed or is unable to be replicated. labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info / can't replicate Issues that require additional information and/or cannot currently be replicated, but possible bug
Projects
None yet
Development

No branches or pull requests

2 participants