Repository navigation
Switch default parser and summarizer from gpt-4.1-mini to Claude Haiku 5.5 - #372
Open
CodexVeritas wants to merge 1 commit into
Open
CodexVeritas wants to merge 1 commit into
CodexVeritas wants to merge 1 commit into
Conversation
…u 5.5 OpenAI retires gpt-4.1-mini on Jan 14th 2027. Haiku 5.5 matched it on parsing test cases (incl. binary, multiple choice, and unit-converting numeric cases) at roughly half the cost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenAI retires
gpt-4o,gpt-4o-mini,gpt-4.1andgpt-4.1-minion Jan 14th 2027. Two shared defaults that every bot inrun_bots.pyruns through usegpt-4.1-mini:DEFAULT_STRUCTURE_OUTPUT_MODEL(the parser for all bots, and the library default forstructure_output)default_summarizerinrun_bots.create_bot(summaries are shown in comments only;use_research_summary_to_forecastisFalse)Both now use
openrouter/anthropic/claude-haiku-5.5. Dated history comments were added inrun_bots.pyso bot results can be traced to the parser/summarizer in use.Model comparison
structure_outputwithnum_validation_samples=2(same as the template bots), 5 reps per case. 11 cases: the 7 fromtest_structure_output.pyplus 4 bot-style cases (binary with a revised draft probability, binary with a decimal percent, multiple choice withOption_Xprefixes and a 0% option, numeric needing$→M $conversion and scientific notation).openai/gpt-4.1-mini(old)anthropic/claude-haiku-5.5openai/gpt-6-lunagoogle/gemini-3.1-flash-liteAll Haiku and Luna retries came from one case (bare
floatoutput with "give your answer as a percentage", where the model answers30%). Bots parse into pydantic types, where Haiku had no retries. Luna's failures were also on that case; Gemini returned0.3instead of30.Testing
code_tests/integration_tests/test_structure_output.pypasses with the new defaultBot definitions that use the retiring models as their own forecasting LLMs are unchanged.
🤖 Generated with Claude Code