Skip to content

OpenAI API Streaming Error: 400 you must provide a model parameter. #89

@zxypro1

Description

@zxypro1

What happened?

Error when trying to use via cli mode.

My command is qwen --prompt <my_prompt> -c -y -a --openai-api-key <my_api_key> --openai-base-url https://dashscope.aliyuncs.com/compatible-mode/v1 --model qwen3-coder-plus

What did you expect to happen?

Should be able to run

Client information

Details
(node:91480) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
OpenAI API Streaming Error: 400 you must provide a model parameter. 
[API Error: OpenAI API error: 400 you must provide a model parameter. ]

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions