As seen in your screenshots, the problem is that the vLLM endpoint expects input, while Discourse is making messages.
Solution:
- Keep Provider as vLLM.
- Change the API URL to the OpenAI-compatible endpoint of your provider for Chat Completions (/v1 is the base URL in most cases).
- Make sure the endpoint supports /v1/chat/completions.
- Leave streaming on if available.
- 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.