[Bug] 添加私有模型时,提示API domain 无效:API domain name is invalid
Contact Information
186-8873-9432 ([email protected])
MaxKB Version
v1.10.5-lts (build at 2025-04-23T15:47, commit: 7e4b1475)
Problem Description
错误提示:API domain name is invalid,添加企业私有Deepseek 32B 模型时
1、在部署的 maxkb 容器环境下,执行 CURL 是 成功响应的,即网络正常
2、使用过 https://deepseek.xxx.com,https://deepseek.xxx.com/v1/ ...... 等等各种路径都是异常的
3、https://deepseek.xxx.com 私有模型在我们其他业务平台都是一直正常被使用的
Steps to Reproduce
1、在部署的 maxkb 容器环境下,执行 CURL 是 成功响应的,即网络正常
2、使用过 https://deepseek.xxx.com,https://deepseek.xxx.com/v1/ ...... 等等各种路径都是异常的
3、https://deepseek.xxx.com 私有模型在我们其他业务平台都是一直正常被使用的
The expected correct result
No response
Related log output
Additional Information
No response
添加的是私有模型,API URL指向的应该是Ollama部署的位置,比如本机部署的需要填http://localhost:11434。 然后maxkb如果是在容器里跑的话还得注意宿主机IP和容器的网络隔离问题http://host.docker.internal:11434。🤝
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The private model is added, and the API URL should point to the location of Ollama deployment. For example, if you need to fill in http://localhost:11434 for native deployments. Then if maxkb is running in the container, you must also pay attention to the network isolation problem between the host IP and the container http://host.docker.internal:11434. 🤝
添加的是私有模型,API URL指向的应该是Ollama部署的位置,比如本机部署的需要填http://localhost:11434。 然后maxkb如果是在容器里跑的话还得注意宿主机IP和容器的网络隔离问题http://host.docker.internal:11434。🤝
谢谢,从容器内部访问CURL 私有化(公网开放)的deepseek 模式 URL 时,验证是通过的,是可以访问的,所以可以理解可排除网络互通的原因
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The private model is added, and the API URL should point to the location of Ollama deployment. For example, if you need to fill in http://localhost:11434 for native deployments. Then if maxkb is running in the container, you must also pay attention to the network isolation problem between the host IP and the container http://host.docker.internal:11434. 🤝
Thank you, when accessing the deepseek mode URL of CURL privatized (public network open) from the container, the verification is passed and accessible, so it can be understood that the reasons for network interoperability can be ruled out.
您好,抱歉,回复晚了。您遇到的问题现在还存在吗?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hello, sorry, I'm late to reply. Do the problems you are facing still exist?
未收到您的回复,暂时关闭该问题
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Your reply was not received, the issue is temporarily closed