Skip to content

Support reasoning models (Luna, o1, o3) by skipping temperature parameter - #173

Merged
lukeinglis merged 1 commit into
mainfrom
revert/calibration-post-processing
Aug 24, 2026
Merged

Support reasoning models (Luna, o1, o3) by skipping temperature parameter#173
lukeinglis merged 1 commit into
mainfrom
revert/calibration-post-processing

Conversation

@lukeinglis

Copy link
Copy Markdown
Owner

Closes the Luna compatibility issue.

Changes

  • Renamed _is_thinking_model to _is_reasoning_model and expanded detection to cover OpenAI reasoning models (o1, o3) and GPT-5.6 Luna, which reject temperature=0
  • Updated _forecast_kwargs so reasoning models skip the temperature parameter entirely, while only Claude reasoning models get the thinking budget
  • No behavioral change for existing Claude or non-reasoning model paths

…eter

Rename _is_thinking_model to _is_reasoning_model and expand detection
to cover OpenAI reasoning models (o1, o3) and GPT-5.6 Luna, which
reject temperature=0. Only Claude reasoning models get the thinking
budget; other reasoning models simply omit temperature.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lukeinglis
lukeinglis marked this pull request as ready for review August 24, 2026 17:21
@lukeinglis
lukeinglis merged commit af2e5f6 into main Aug 24, 2026
5 checks passed
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