Skip to content

Remember the last used model #62

Description

@Phantom-VK

Problem

Settings holds 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_dismissed

Fix

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coresrc/norefund/core — pure logic, no UIarea:frontendfrontend/ — React UIenhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions