Skip to content
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] 自定义 BASE_URL 无法使用自定义路径 #5371

Closed
ramondsq opened this issue Sep 6, 2024 · 3 comments
Closed

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

ramondsq opened this issue Sep 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ramondsq
Copy link

ramondsq commented Sep 6, 2024

📦 部署方式

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

@ramondsq ramondsq added the bug Something isn't working label Sep 6, 2024
@Issues-translate-bot
Copy link

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


Title: [Bug] Custom BASE_URL cannot use custom path

@QAbot-zh
Copy link

QAbot-zh commented Sep 6, 2024

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

@ramondsq
Copy link
Author

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

setting BASE_URL as this could solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants