-
Notifications
You must be signed in to change notification settings - Fork 811
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
OPTIONS method is not supported when using sglang with the nextchat client #768
Comments
|
From the log, you can see
|
Ying1123
changed the title
How to use OpenAI-compatible APIs.
OPTIONS method is not supported when using sglang with the nextchat client
Aug 1, 2024
Easy walk around by adding a proxy: https://github.com/songquanpeng/one-api |
May you try the latest release? Thanks! ref #1373 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using qwen1.5 model, how to use openai compatible api interface in sglang to use
Launch command: python -m sglang.launch_server --model-path Qwen1.5-72B-Chat-GPTQ-Int4 --tp 2 --enable-p2p-check --port 8000 --host 0.0.0.0
Using openai compatible api reported this error, "OPTIONS /v1/chat/completions HTTP/1.1" 405 Method Not Allowed.
thx
The text was updated successfully, but these errors were encountered: