Open liujvnes opened 1 month ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] Local ollama cannot chat
将接口地址修改回/api/openai,在项目中增加.env文件,并添加 BASE_URL=http://localhost:11434
Bot detected the issue body's language is not English, translate it automatically.
Change the interface address back to /api/openai, add the .env file to the project, and add BASE_URL=http://localhost:11434
解决了吗,我的问题和你类似
Bot detected the issue body's language is not English, translate it automatically.
Have you solved it? My problem is similar to yours.
这是跨域的问题,在ollama中配置 OLLAMA_ORIGINS=*
就行
Bot detected the issue body's language is not English, translate it automatically.
This is a cross-domain problem. Just configure
OLLAMA_ORIGINS=*
in ollama.
window下面配置OLLAMA_HOST=0.0.0.0,OLLAMA_ORIGINS=*,重启服务就可以了
Bug Description
本地ollama无法聊天,我不知道哪里设置错误,请帮帮我!
Steps to Reproduce
本地ollama无法聊天
Expected Behavior
本地ollama无法聊天,其它应用可以
Screenshots
Deployment Method
Desktop OS
windows11
Desktop Browser
edge
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response