-
Notifications
You must be signed in to change notification settings - Fork 1
Remember the last used model #62
Copy link
Copy link
Open
Labels
area:coresrc/norefund/core — pure logic, no UIsrc/norefund/core — pure logic, no UIarea:frontendfrontend/ — React UIfrontend/ — React UIenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Activity
Metadata
Metadata
Assignees
Labels
area:coresrc/norefund/core — pure logic, no UIsrc/norefund/core — pure logic, no UIarea:frontendfrontend/ — React UIfrontend/ — React UIenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Problem
Settingsholds four fields. A default model is not one. Every launch starts on the same hardcoded pick, and the user re-selects every time.Where
core/settings.py:34-> Settings dataclass with only default_output_tokens, currency, show_chunk_warnings, onboarding_dismissedFix
Add one field:
last_model_id: str = "openai:gpt-4o"On app start, pre-select it. On every model pick, save it.
Scope
One field, one migration-free default, immediately noticeable improvement. No breaking changes.