Skip to content

feat(openai): update model YAMLs [bot]#371

Open
hganwani-droid wants to merge 1 commit intomainfrom
bot/update-openai-20260319-110020
Open

feat(openai): update model YAMLs [bot]#371
hganwani-droid wants to merge 1 commit intomainfrom
bot/update-openai-20260319-110020

Conversation

@hganwani-droid
Copy link
Collaborator

@hganwani-droid hganwani-droid commented Mar 19, 2026

Auto-generated by poc-agent for provider openai.


Note

Low Risk
Low risk metadata-only change: updates/adds OpenAI model configuration YAMLs (pricing, limits, feature flags) without touching runtime code paths.

Overview
Updates OpenAI provider model definitions for gpt-5.4-mini and gpt-5.4-nano, and adds dated variants (*-2026-03-17).

The YAMLs now include explicit token pricing, capability flags (e.g., tool/function calling, structured outputs, prompt caching), context/output limits (up to 400000 context / 128000 output), supported modalities (text+image in, text out), and exposed params like max_tokens and reasoning_effort, with updated documentation sources and thinking: true.

Written by Cursor Bugbot for commit 5159fcf. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 4 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

mode: chat
model: gpt-5.4-mini
params:
- defaultValue: 128000
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default max_tokens set to maximum value in alias

Medium Severity

The defaultValue for max_tokens in gpt-5.4-mini.yaml is 128000, which equals the maxValue. The dated counterpart gpt-5.4-mini-2026-03-17.yaml uses defaultValue: 128. Since the non-dated alias resolves to the same underlying model, these defaults are inconsistent. A default equal to the maximum means every request consumes the full token budget by default, likely leading to unexpected cost and latency.

Additional Locations (1)
Fix in Cursor Fix in Web

minValue: 1
sources:
- https://developers.openai.com/api/docs/models/gpt-5.4-nano
thinking: true
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nano alias missing reasoning_effort parameter despite thinking support

Medium Severity

gpt-5.4-nano.yaml has thinking: true but is missing the reasoning_effort parameter that its dated counterpart gpt-5.4-nano-2026-03-17.yaml includes. Users of the non-dated alias won't be able to control reasoning effort level, resulting in an inconsistent experience compared to the dated model name.

Additional Locations (1)
Fix in Cursor Fix in Web

- function_calling
- structured_output
- tool_choice
- system_messages
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nano alias missing prompt_caching despite having cache cost

Medium Severity

gpt-5.4-nano.yaml defines a cache_read_input_token_cost in its costs but omits prompt_caching from its features list. The dated counterpart gpt-5.4-nano-2026-03-17.yaml correctly includes prompt_caching. This inconsistency means the feature may not be advertised or enabled for users of the non-dated alias despite the cost being configured.

Additional Locations (1)
Fix in Cursor Fix in Web

- prompt_caching
- tools
- tool_choice
- system_messages
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mini alias and dated version have swapped features

Medium Severity

The features lists for gpt-5.4-mini-2026-03-17.yaml and gpt-5.4-mini.yaml are inconsistent in a contradictory way. The dated version lists parallel_function_calling but not tools, while the non-dated alias lists tools but not parallel_function_calling. Since the alias resolves to the same underlying model, both files represent the same capabilities yet advertise different feature sets. This could cause tool-calling behavior to differ depending on which model name a user specifies.

Additional Locations (1)
Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant