Results / request.max-tokens-ollama-openai
Output limit reaches Ollama's OpenAI-compatible endpoint
A short answer is requested through the OpenAI-compatible endpoint, which only honors the max_tokens field.
Bug class: The library sends something the caller didn't ask for
The library adds, drops or renames request fields the caller didn't set, or sends a combination the provider rejects.
Calls fail on current models, or behave differently from what the caller configured.
Requirements
| Level | Id | Check | Requirement | Providers |
|---|---|---|---|---|
| MUST | limit-field | request_field_equals | The request sends the output limit as max_tokens, the field Ollama applies. | All |
Fixtures
| Provider | Tier | any-llm | litellm | pydantic-ai | tanstack-ai | vercel-ai |
|---|---|---|---|---|---|---|
| ollama-openai | recorded | ✗ WRONG | ✓ PASS | ✗ WRONG | – UNSUPPORTED | ✓ PASS |