Skip to content

[API Error: 400 invalid message content type: <nil>] (Press Ctrl+Y to retry) #3350

@pakkua80

Description

@pakkua80

What happened?

My setup of QWEN code version : 0.14.5
connect ollama to openai via arguments --auth-type openai, --openaiApiKey, --openaiBaseUrl

Out of the blue, the error shown below will pop up

Image

I do not have the logs at this moment.

What did you expect to happen?

It should not be having this error out of the blue. I do not have this issue using claude code connecting to the same ollama.

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

$ qwen /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions