Update ollama.py
fix ollama stream response, use requests instead of httpx, which httpx is not work there(it may take http status code 400)
Title
Relevant issues
OpenInterpreter/open-interpreter#1274
Type
🐛 Bug Fix
Changes
use requests instead of httpx in ollama.py:320
work well on my computer, it fixed the same issue mentioned above
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| litellm | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 17, 2024 2:56pm |
hi @502dxceit thank you for this pr. can you share a test script for repro
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.