-
Notifications
You must be signed in to change notification settings - Fork 86
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
[Feature]: OpenAI api supports NextChat #169
Labels
enhancement
New feature or request
Comments
I've added this in v1.5.7 |
Still doesn't work:
|
can i see your data request? |
Your response status is 422 so the request data format may be error: Example {
"stream": true,
"model": "gpt-3.5-turbo",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Who won the world series in 2020?"}
]
} Invalid: {
"stream": true,
"model": "gpt-3.5-turbo",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Who won the world series in 2020?"},
]
} |
CORS error
|
I've updated new version with cors added |
It works, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NextChat use OPTIONS but not POST:
127.0.0.1:65392 - - [23/Jun/2024:00:30:40] "OPTIONS /v1/chat/completions" 405 31
The text was updated successfully, but these errors were encountered: