-
Notifications
You must be signed in to change notification settings - Fork 59.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 模型通过什么什么服务商来访问应该可以自定义,而不是固定 #5407
Comments
Title: [Bug] The service provider through which the model is accessed should be customizable rather than fixed. 📦 Deployment methodOfficial installation package 📌 Software version2.15.1 💻 System environmentWindows, macOS 📌 System versionSonama 14.5 🌐 BrowserChrome, Safari 📌 Browser versionsafari17.5 🐛 Problem descriptionWhen the name of a custom model overlaps with an existing model name, the api format of the corresponding model in the model list will be forced to be used. For example, I have my own oneapi that can call cladue, but it will be forced to use anthropopic's api, resulting in that I cannot use all models of cladue. 📷 Steps to reproduceNo response 🚦 Expected resultsModels can be customized and choose to use different model service providers 📝 Supplementary informationNo response |
如果想要通过 OpenAI 兼容的api调用模型,自定义模型名称应该为 在使用对应的自定义模型前,需设置好相关的API_URL。 |
If you want to call the model through the OpenAI compatible API, the custom model name should be Before using the corresponding custom model, the relevant API_URL needs to be set. |
请仔细阅读 #5001 |
Please read #5001 carefully |
但是这样为什么会调用我配的 base url 而不是 ANTHROPIC_URL |
But why is the base url I configured called instead of ANTHROPIC_URL? |
📦 部署方式
官方安装包
📌 软件版本
2.15.1
💻 系统环境
Windows, macOS
📌 系统版本
Sonama 14.5
🌐 浏览器
Chrome, Safari
📌 浏览器版本
safari17.5
🐛 问题描述
当自定义模型名称和已存在模型名称重复时,会强制使用模型列表中对应模型的 api 格式。比如我有自己的 oneapi 可以调用 cladue,但会被强制使用anthropic 的 api,导致 cladue 所有模型我都无法使用。
📷 复现步骤
No response
🚦 期望结果
模型可以自定义选择使用不同的模型服务商
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: