Skip to content

Use OpenRouter provider value#38

Open
Farhan (fkb032) wants to merge 1 commit intomainfrom
copy-edits
Open

Use OpenRouter provider value#38
Farhan (fkb032) wants to merge 1 commit intomainfrom
copy-edits

Conversation

@fkb032
Copy link
Copy Markdown
Contributor

Summary

  • Change the AI Models provider dropdown to store openrouter while displaying OpenRouter.
  • Normalize legacy saved openai prefs to openrouter in the settings UI so existing users are not stranded on an unlisted value.
  • Keep openai as a backend-compatible legacy alias/fallback and update README defaults to match the OpenRouter-first behavior.

Why

The UI label had been changed to OpenRouter, but the underlying select value still persisted openai. That left the visible setting and stored provider value out of sync.

Test Plan

  • Run devenv up from the repo root and wait for the local app to launch.
  • Open Settings -> AI Models.
  • Confirm the Evolution Model provider dropdown displays OpenRouter.
  • Confirm the Summary Model provider dropdown displays OpenRouter.
  • Change/select OpenRouter in either provider dropdown, close and reopen Settings, and confirm the selection still displays as OpenRouter.
  • With an existing saved openai provider preference, open Settings -> AI Models and confirm the UI normalizes it to the visible OpenRouter option instead of showing an empty/unmatched select value.

Docs

  • Docs updated (companion PR in darkmatter/nixmac-web: #___)
  • No docs update needed

This only changes the local app's provider label/value consistency and updates this repo's README defaults. The public docs site does not need a companion update.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

Warnings
⚠️ Please assign this PR to someone (usually yourself).
Messages
📖 No docs update needed — acknowledged.

📋 PR Overview

Lines changed 42 (+25 / -17)
Files 0 added, 7 modified, 0 deleted
Draft / WIP no
Has Test Plan yes
New UI components no
New Storybook stories no
New Rust modules no
New TS source files no
New tests no
package.json touched no
Cargo.toml touched no
Infra / CI touched no

Generated by 🚫 dangerJS against e30f1e7

Copy link
Copy Markdown
Contributor

@czxtm cooper (czxtm) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow this whole time we didnt have this? lol thats crazy

@fkb032 Farhan (fkb032) marked this pull request as ready for review April 22, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants