The issue has been closed
💻 系统环境
macOS
📦 部署环境
Docker
🌐 浏览器
Chrome
🐛 问题描述
我把ollama使用ngrok發佈後,ngrok所提供的https設置在接口代理地址。
但lobe會自動的使用 11434接回,而不是 https的443接口

🚦 期望结果
我設定的 https://xxxx.ngrok-free.app
應該可以直接使用
而不是變成 http://xxxx.ngrok-free.app:11434
📷 复现步骤
No response
📝 补充信息
No response

👀 @kevin5251984
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
posted by lobehubbot 12 months ago
posted by arvinxx 11 months ago 
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
How about trying the latest version now?
posted by lobehubbot 11 months ago
现在再试试最新版呢?
The same, it looks like ollama can only use the http protocol.
一樣的,看來ollama只能使用http協議。
posted by kevin5251984 11 months ago
posted by arvinxx 11 months ago 
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
This may be related to ollama's sdk. Because I am requesting to call their sdk, I suggest you file an issue with them.
posted by lobehubbot 11 months ago
不对,我看他们的实现上是会做url处理的,那看来是我的实现问题
posted by arvinxx 11 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
No, I think their implementation can do url processing, so it seems to be my implementation problem.
posted by lobehubbot 11 months ago
遇到了同样的问题,不仅是443端口,80端口也是,似乎这里指定了endpoint没有端口的情况下使用11434
posted by eyebrowkang 11 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I encountered the same problem, not only port 443, but also port 80. It seems that if the endpoint has no port, 11434 is used.
posted by lobehubbot 11 months ago
✅ @kevin5251984
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
posted by lobehubbot 11 months ago