Skip to content

Conversation

@yuan-alex
Copy link

@yuan-alex yuan-alex commented May 29, 2025

Currently, all requests made to the Responses API include a reasoning parameter that is not supported with non-reasoning models such as gpt-4.1. This PR removes the reasoning parameter for models that don't begin with o or codex. A similar fix already exists in #993 but I'd prefer if we'd get the fix merged in first.

@github-actions
Copy link

github-actions bot commented May 29, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@yuan-alex
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request May 29, 2025
@rsrrrrrr
Copy link

흔적을남기다

@yuan-alex yuan-alex force-pushed the alex/fix-remove-extraneous-reasoning branch from 7ec59c5 to 2c310cb Compare May 31, 2025 18:55
@yuan-alex
Copy link
Author

Closing this PR as it's been recently implemented in #1199.

@yuan-alex yuan-alex closed this Jun 3, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jun 3, 2025
@yuan-alex yuan-alex deleted the alex/fix-remove-extraneous-reasoning branch June 3, 2025 03:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants