-
Notifications
You must be signed in to change notification settings - Fork 349
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]:OpenAI Chat API Compatibility Issue with 'qwen-plus' Model #425
Labels
bug
Something isn't working
Comments
Full error log
|
This error is raised because that the dashscope model service requires at least one user message in the prompt.
You can adjust the speaking order so that the user agent speaks first. x = None
while True:
x = user(x)
if x.content == "exit": # type "exit" to break the loop
break
x = agent(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Title: OpenAI Chat API Compatibility Issue with 'qwen-plus' Model
Describe the bug:
When attempting to use the 'qwen-plus' model via the OpenAI Chat API compatibility mode, a BadRequestError occurs indicating an invalid parameter for the messages list.
To Reproduce:
Expected behavior:
The 'qwen-plus' model should process the request without errors and return a valid response when used with the OpenAI Chat API compatibility mode.
Error messages:
Code:
Environment:
The text was updated successfully, but these errors were encountered: