I've setup my model provider like this:
```
"models": {
"providers": {
"localai": {
"baseUrl": "http://localhost:9999/v1",
"apiKey": "xxxxxxx",
"auth": "api-key",
"api": "openai-completions",
"authHeader": false,
"models": [
{
"id": "qwen3-vl-8b-instruct",
"name": "qwen3-vl-8b-instruct",
"api": "openai-completions",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
It simply responds with:
```answer
No output — tool completed successfully.
```
On telegram it responds with:
```Unexpected non-whitespace character after JSON at position 157``` etc.