Comments (4)
试一下小一点的模型,我也碰到了这个问题,这个问题似乎和模型的响应速度有关,ollama生成速度慢就会报这个
from open-interpreter.
把你的vpn关掉,试试。
from open-interpreter.
试一下小一点的模型,我也碰到了这个问题,这个问题似乎和模型的响应速度有关,ollama生成速度慢就会报这个
我用的最小的phi3-3b模型也报这个错,应该不是模型大小的问题
我还问了下bingAI,但是因为不懂编程完全看不懂它在说什么,哪位好大哥救一下😂
下面是bingai的回复:
你
由 你 发送:
我在尝试运行Open Interpreter项目时,遇到了以下错误:raise ResponseNotRead()
httpx.ResponseNotRead: Attempted to access streaming response content, without having called read()
.我应该如何找到出问题的代码并修复
Copilot
正在为你生成答案…
由 Copilot 发送:
遇到 httpx.ResponseNotRead 错误通常意味着尝试访问流式响应内容,但没有调用 read() 方法。在 Open Interpreter 项目中,这个问题可能是由于在处理 HTTP 响应时没有正确读取内容。
根据我找到的信息,你可以尝试以下步骤来解决这个问题:
确保在尝试访问响应内容之前,你已经调用了 response.read() 或 response.aread() 来读取响应的内容。
如果你正在使用事件钩子,并且它在引发异常时没有先读取请求体,你可能需要更改事件钩子的代码1。
此外,GitHub 上的一个相关 issue 提到了一个类似的问题,你可以参考那里的讨论来找到问题的代码并尝试修复。
如果你不熟悉如何修改代码,你可以提供更多的上下文或错误日志,这样我可能能提供更具体的帮助。记得在处理这类问题时,详细阅读错误信息和堆栈跟踪通常是找到问题所在的关键。
from open-interpreter.
I fix this issue on BerriAI/litellm#4752
from open-interpreter.
Related Issues (20)
- Model names in llama download have colons
- The line break character in the name of the conversation file causes the OSError error
- How to use with vllm correctly?
- LiteLLM:WARNING: litellm_logging.py:2323 - Model is not mapped in model cost map. Defaulting to None model_cost_information for staLiteLLM:WARNING: litellm_logging.py:2323 - Model is not mapped in model cost map. Defaulting to None model_cost_information for standard_loggin g_payloadndard_loggin g_payload HOT 2
- Show option to skip future "Was Open Interpreter helpful?" messages HOT 1
- Problem using Ollama HOT 3
- --local should respect $OLLAMA_HOST rather than defaulting to localhost HOT 2
- Where are chat logs saved? HOT 1
- recommendation for making 'gpt-4o-mini' the default model over '4-turbo' HOT 6
- Can we get the dataset for the formatting for local AI to use the UI? HOT 1
- Can I connect open interpreter to a running llamafile? HOT 1
- The code which should be exec in system, don't run and suspend. HOT 1
- import statement missing in a module
- NameError: name 'interpreter' is not defined after installation HOT 16
- Can't get connection to Oogabooga w/openai extension to work. HOT 1
- Internal Server Error with display functions
- How do I continue if it get's stuck at a prompt? HOT 2
- Self-learning
- problem running with ollama HOT 1
- Can't get gemma-2b-2-it to run or runs very slowly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-interpreter.