Skip to content

Internal error: 400 “Invalid ‘messages’ in payload. Please check the structure of your ‘messages’ and try again.” #3437

@yar3333

Description

@yar3333

What happened?

When I ask local qwen3.6 model to describe image, I got a error:

Describe picture "test.jpg".

ReadFile test.jpg

Internal error: 400 “Invalid ‘messages’ in payload. Please check the structure of your ‘messages’ and try again.”

What did you expect to happen?

Output text with picture description.

Client information

Qwen Code 0.14.5 (a661294)
Node.js v22.13.1 / npm 11.12.1
win32 x64 (10.0.22631)
API Key - openai
http://127.0.0.1:4239/v1
qwen/qwen3.6-35b-a3b
qwen/qwen3.6-35b-a3b
no sandbox
no proxy
211.6 MB

Login information

"modelProviders": {
    "openai": [
      {
        "id": "qwen/qwen3.6-35b-a3b",
        "name": "lm-studio: qwen/qwen3.6-35b-a3b",
        "envKey": "OLLAMA_API_KEY",
        "baseUrl": "http://127.0.0.1:4239/v1",
        "generationConfig": {
          "timeout": 600000,
          "maxRetries": 3,
          "enableCacheControl": true,
          "contextWindowSize": 250000,
          "modalities": {
            "image": true
          }
        }
      },

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions