You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conditional follow-up to the Flash calibration spike (#43). If Flash meets the pre-committed quality threshold recorded in that spike, the default Gemini model in core/gemini.py swaps from Pro to Flash. Most of the corpus spend gets a 5-10× cost cut for whatever quality delta the spike accepted.
End state
GeminiClient defaults to the Flash model ID. Pro stays available as an explicit constructor argument so it can be used for selective re-extraction (Sprint 3 might do this) or one-off comparisons.
CLAUDE.md — mention the default swap with the spike's calibration score as justification.
scripts/calibrate_models.py adapter, if the spike landed it in tree.
Constraints
Do NOT merge this PR unless the spike (Spike: 5-page Gemini Flash calibration #43) PASSES its pre-committed quality threshold. If the spike fails, close this issue without merging; Sprint 1's cost wins are what we keep.
This is a single-line model-ID change — keep the diff minimal. No prompt edits, no schema edits.
Problem
Conditional follow-up to the Flash calibration spike (#43). If Flash meets the pre-committed quality threshold recorded in that spike, the default Gemini model in
core/gemini.pyswaps from Pro to Flash. Most of the corpus spend gets a 5-10× cost cut for whatever quality delta the spike accepted.End state
GeminiClientdefaults to the Flash model ID. Pro stays available as an explicit constructor argument so it can be used for selective re-extraction (Sprint 3 might do this) or one-off comparisons.Where
core/gemini.py— change the default model ID.tests/unit/test_gemini.py— update the model-property test.CLAUDE.md— mention the default swap with the spike's calibration score as justification.scripts/calibrate_models.pyadapter, if the spike landed it in tree.Constraints
Acceptance criteria
core/gemini.py.GeminiClient.modelproperty updated.CLAUDE.mdnotes Flash as the corpus default and cites the spike's score.Related