Git Product home page Git Product logo

Comments (4)

z82134359 avatar z82134359 commented on September 26, 2024 1

试一下小一点的模型,我也碰到了这个问题,这个问题似乎和模型的响应速度有关,ollama生成速度慢就会报这个

from open-interpreter.

simple-smp avatar simple-smp commented on September 26, 2024 1

把你的vpn关掉,试试。

from open-interpreter.

lic9425 avatar lic9425 commented on September 26, 2024

试一下小一点的模型,我也碰到了这个问题,这个问题似乎和模型的响应速度有关,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.

502dxceit avatar 502dxceit commented on September 26, 2024

I fix this issue on BerriAI/litellm#4752

from open-interpreter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.