shell_gpt icon indicating copy to clipboard operation
shell_gpt copied to clipboard

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

Open electriquo opened this issue 10 months ago • 4 comments

i get the following error when trying sgpt with ollama

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

relates to https://github.com/TheR1D/shell_gpt/discussions/503#discussioncomment-8901323

electriquo avatar Mar 27 '24 16:03 electriquo

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

Robinsane avatar Apr 11 '24 15:04 Robinsane

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.

electriquo avatar Apr 13 '24 06:04 electriquo

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 ;)

Robinsane avatar Apr 13 '24 11:04 Robinsane

I have the same problem. I have posted my output in thread #503.

richardstevenhack avatar Jul 12 '24 21:07 richardstevenhack