Skip to content

Settings wouldn't allow a save until I changed the Model (that previously worked) - UI issue #2577

@Mustachio77

Description

@Mustachio77

App Version

3.11.14

API Provider

OpenRouter

Model Used

claude-3.7-sonnet ; claude-3.7-sonnet:beta

Actual vs. Expected Behavior

Actual Result:
Opening up the settings didn't allow the save button to be pressed; I had to dig around for a while and figure out that the Model value (that was previously working) had to be changed from claude-3.7-sonnet to claude-3.7-sonnet:beta sonnet was no longer an option.

Expected / Ideal Result:

  1. If a model version ("model ID" ?) is no longer supported or valid, then make it more obvious to the user that the model has to be changed. Move the error message directly above or below the Model field, the red text warning shouldn't be below the API Provider field
  2. Change the message text "model ID" to "Model" in the warning, to exactly match the label "Model", so the label exactly matches the error message.
  3. If the model is no longer supported by that API Provider, then remove it completely from the field when the settings are reloaded. In this example, the text field value of anthropic/claude-3.7-sonnet should (ideally) no longer appear at all in the field. Either this should default to another valid choice and make it easy for the user, or clear it completely (so it's more obvious to the user the field is empty and requires a change).

Image

Detailed Steps to Reproduce

  1. When initially configuring (for the first time, or for a new API key) select OpenRouter for API Provider
  2. Provide a valid API Key
  3. Select anthropic/claude-3.7-sonnet (if possible)
  4. Wait a while / do some stuff (?) This step is somewhat ambiguous, I didn't notice I couldn't save changes for at least a day
  5. Open up settings and attempt to save. Notice if the save button is enabled
  6. If disabled, select a value from the Model drop down list. The only value there now is claude-3.7-sonnet:beta
  7. Select the only remaining model option, and verify if the message goes away.

Relevant API Request Output

Additional Context

Image

Also found here by another user - https://discord.com/channels/1332146336664915968/1360291117949784165/1360291629491032065

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or requestIssue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions