Open ramondsq opened 1 week ago
Vercel
latest
Windows
win 11
Chrome
128
github models 的 endpoint 是 https://models.inference.ai.azure.com/chat/completions,但是无论BASE_URL设置为https://models.inference.ai.azure.com还是https://models.inference.ai.azure.com/chat/completions,请求都会被强制加上路径v1/chat/completions,导致无法使用。希望可以让用户自定义路径。
https://models.inference.ai.azure.com/chat/completions
BASE_URL
https://models.inference.ai.azure.com
v1/chat/completions
No response
Bot detected the issue body's language is not English, translate it automatically. Title: [Bug] Custom BASE_URL cannot use custom path
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] Custom BASE_URL cannot use custom path
https://models.inference.ai.azure.com/chat/completions#
📦 部署方式
Vercel
📌 软件版本
latest
💻 系统环境
Windows
📌 系统版本
win 11
🌐 浏览器
Chrome
📌 浏览器版本
128
🐛 问题描述
github models 的 endpoint 是
https://models.inference.ai.azure.com/chat/completions
,但是无论BASE_URL
设置为https://models.inference.ai.azure.com
还是https://models.inference.ai.azure.com/chat/completions
,请求都会被强制加上路径v1/chat/completions
,导致无法使用。希望可以让用户自定义路径。📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response