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

Ollama ResponseNotRead: Attempted to access streaming response content, without having called read() #524

Open
electriquo opened this issue Mar 27, 2024 · 3 comments

Comments

@electriquo
Copy link

i get the following error when trying sgpt with ollama

ResponseNotRead: Attempted to access streaming response content, without having called `read()`.

relates to #503 (comment)

@Robinsane
Copy link

I got Ollama working (in a container)
Checking the environment variables I set in the example ollama Dockerfile at #540 could possibly help you :)

@electriquo
Copy link
Author

it has noting to do with container per-se. even if ollama is running natively (without any container), the issue still happens.
i had to switch to aichat to resolve the issue.

@Robinsane
Copy link

it has noting to do with container per-se. even if ollama is running natively (without any container), the issue still happens. i had to switch to aichat to resolve the issue.

I only pointed to environment variables that could've possibly helped you, no need run in a container env ;)

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

No branches or pull requests

2 participants