Comments (4)
This commit removed the use of \x
encoding for Unicode characters in the JSON body passed to the requests.request()
function call: f04d60b
Before:
b'{"model":"****","messages":[{"role":"user","content":"\xe4\xbd\xa0\xe5\xa5\xbd"},{"role":"assistant","content":""}],"options":{}}'
After this commit:
'{"model":"****","messages":[{"role":"user","content":"你好"},{"role":"assistant","content":""}],"options":{}}'
from open-webui.
2024-03-07 11:52:52 INFO: 172.17.0.1:53560 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-07 11:52:52 http://host.docker.internal:11434
2024-03-07 11:52:52 {"model":"gemma:latest","messages":[{"role":"user","content":"hellow"},{"role":"assistant","content":""}],"options":{},"stream":true}
2024-03-07 11:52:52 INFO: 172.17.0.1:53560 - "POST /ollama/api/chat HTTP/1.1" 200 OK
2024-03-07 11:52:53 INFO: 172.17.0.1:53560 - "POST /api/v1/chats/fd65bd23-3113-4c25-b3f9-64edd1dc2e9a HTTP/1.1" 200 OK
2024-03-07 11:52:53 INFO: 172.17.0.1:53560 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-07 11:52:53 http://host.docker.internal:11434
2024-03-07 11:52:53 INFO: 172.17.0.1:53560 - "POST /ollama/api/generate HTTP/1.1" 200 OK
2024-03-07 11:52:53 INFO: 172.17.0.1:53560 - "POST /api/v1/chats/fd65bd23-3113-4c25-b3f9-64edd1dc2e9a HTTP/1.1" 200 OK
2024-03-07 11:52:53 INFO: 172.17.0.1:53560 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-07 11:52:53 INFO: 172.17.0.1:53560 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-07 11:53:07 http://host.docker.internal:11434
2024-03-07 11:53:07 {"model":"gemma:latest","messages":[{"role":"user","content":"hellow"},{"role":"assistant","content":"Hello, how are you?\n\nI'm an AI language model, here to help you with your queries. Would you like me to tell you more about myself or answer a question?"},{"role":"user","content":"介绍一下JavaScript"},{"role":"assistant","content":""}],"options":{},"stream":true}
2024-03-07 11:53:07 INFO: 172.17.0.1:54364 - "POST /ollama/api/chat HTTP/1.1" 500 Internal Server Error
2024-03-07 11:53:07 INFO: 172.17.0.1:54364 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
from open-webui.
from open-webui.
The latest version should fix the issue, please let us know if the issue persists! Thanks!
from open-webui.
Related Issues (20)
- admin panel displays the administrator's name instead of the user's name. HOT 2
- I cannot create larger files as a document. HOT 2
- feat: GroqCloud integration
- enhancement: auth ollama connection
- Docker image with Ollama installed very slow HOT 2
- Can open-webui use the Assistant API of OpenAI when i give my own openai api-key?
- Missing envs for OpenAI compatible endpoints
- Control visibility of Modelfiles in side bar and Setttings -> Connections, Models, Audio, Images
- Create modelfiles that use api LLMs, e.g. gpt-4 HOT 2
- OpenAI net::ERR_CONTENT_DECODING_FAILED
- something went wrong string indices must be integers not str
- feat: Multiple Model Paths
- When run docker command to start the open-webui without internet, one issue occurred.
- profile_image_url is an injection vulnerability
- Feedback on Ollama+Ollama web ui issues HOT 1
- bug: hanging connection causing blank screen HOT 2
- Add proxy for OpenAI
- [BUG] No email being sent to pending accounts
- Modelfiles don't use GGUF anymore
- OpenAI API Key is deleted each time the Docker Container is restarted
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-webui.