Skip to content

[BUG]: Not showing output using some OpenRouter models #4815

@TheCass1

Description

@TheCass1

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Hi!

I'm having an issue using OpenRouter as LLM provider, only with certain models.
Once the prompt is sent, any response is given and the only thing I get is an empty sentence.
In the example image i was using Perplexity Sonar Search Pro, but the same happens with other models, such as GPT 5.1. These work on the OpenRouter webui. The models I can use without any problem in AnythingLLM are, for example, Claude Opus 4.5 or GPT 4.1-mini.

Thanks in advance

Image

Are there known steps to reproduce?

Use OpenRouter as provider and choose one of the models mentioned above

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions