Skip to content

openrouter API breaking change #67

@Eason0729

Description

@Eason0729

yesterday openrouter introduce a breaking change on API, now chat completion require exact correct output modalities.

Llumen previously(9edf95a) send every request with text and image modalities(unless override in config)

{
  "model": "openai/gpt-oss-120b",
  "messages": [
    {
      "role": "user",
      "content": "hi"
    }
  ],
  "stream": true,
  "modalities": [
    "text",
    "image"
  ]
}

It used to be work, but after the API change, it return error:

{
  "error": {
    "message": "No endpoints found that support the requested output modalities: text, image",
    "code": 404
  }
}

It's fixed(da371d3) at nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions