Skip to content

gptel-openai: gptel--request-data get reasoning capability from prop #828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ahmed-shariff
Copy link

The models with reasoning capabilities were hard-coded in openai's gptel--request-data. This PR replaces it with gptel--model-capable-p to get the reasoning capabilities from the model properties.

This came about when I started playing with gpt-4o-search-preview and gpt-4o-mini-search-preview, which seems to not support temperature. I was adding the reasoning capability, which seems to resolve that issue for now. Is it also worth considering temperature as another capability?

The models with reasoning capabilities were hard coded in openai's
`gptel--request-data`. This commit replaces it with
`gptel--model-capable-p` to get the reasoning capabilitie from the
model properties.
@ahmed-shariff ahmed-shariff force-pushed the openai-get-reasoning-cap branch from 98d4d3f to 042091d Compare July 8, 2025 18:27
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