ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
74.96k stars 58.98k forks source link

[Bug] 自定义 BASE_URL 无法使用自定义路径 #5371

Open ramondsq opened 1 week ago

ramondsq commented 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,导致无法使用。希望可以让用户自定义路径。

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

Issues-translate-bot commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Custom BASE_URL cannot use custom path

QAbot-zh commented 1 week ago

https://models.inference.ai.azure.com/chat/completions#