OpenAI has changed the max_tokens parameter in 5.x models to be max_output_tokens (API) or max_completion_tokens (chat) as per https://help.openai.com/en/articles/5072518-controlling-the-length-of-openai-model-responses
Current fabro behavior still references max_tokens for openai and openaicompatible providers - this is causing issues with the newer models as not all hosting platforms support an alias for max_tokens. Using fabro with these providers (Azure as an example) requires custom integration or proxy rewrite.
Since gpt 4 was deprecated on Feb 13, 2026, update fabro default behavior to pass the value as max_output_tokens or max_completion_tokens. Consider adding a legacy setting in the config for maintaining compatibility with older 4.x models.
OpenAI has changed the max_tokens parameter in 5.x models to be max_output_tokens (API) or max_completion_tokens (chat) as per https://help.openai.com/en/articles/5072518-controlling-the-length-of-openai-model-responses
Current fabro behavior still references max_tokens for openai and openaicompatible providers - this is causing issues with the newer models as not all hosting platforms support an alias for max_tokens. Using fabro with these providers (Azure as an example) requires custom integration or proxy rewrite.
Since gpt 4 was deprecated on Feb 13, 2026, update fabro default behavior to pass the value as max_output_tokens or max_completion_tokens. Consider adding a legacy setting in the config for maintaining compatibility with older 4.x models.