Non-streaming request failed

As seen in your screenshots, the problem is that the vLLM endpoint expects input, while Discourse is making messages.

Solution:

  1. Keep Provider as vLLM.
  2. Change the API URL to the OpenAI-compatible endpoint of your provider for Chat Completions (/v1 is the base URL in most cases).
  3. Make sure the endpoint supports /v1/chat/completions.
  4. Leave streaming on if available.
  5. Click Save and Run Test.
    Important note: Turning off streaming will not solve this problem. The API request format should be correct.

If your gateway supports /responses only, you need a corresponding endpoint or an adapter.