Skip to content

Commit fa223da

Browse files
committed
make openrouter/free the default OpenRouter model
1 parent 503d16e commit fa223da

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/chrome/src/providers/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const WEBBRAIN_CLOUD_PROVIDER_ID = 'webbrain_cloud';
1313
const WEBBRAIN_CLOUD_CONTEXT_WINDOW = 1000000;
1414
const WEBBRAIN_CLOUD_LEGACY_CONTEXT_WINDOW = 256000;
1515
const WEBBRAIN_DEVICE_GUID_KEY = 'webbrainDeviceGuid';
16-
const OPENROUTER_DEFAULT_MODEL = 'minimax/minimax-m3';
16+
const OPENROUTER_DEFAULT_MODEL = 'openrouter/free';
1717
const OPENROUTER_LEGACY_DEFAULT_MODEL = 'stepfun/step-3.7-flash';
1818
const SUPPORTED_PROVIDER_TYPES = new Set(['llamacpp', 'openai', 'anthropic', 'anthropic_oauth']);
1919
const SAFE_PROVIDER_ID_RE = /^[A-Za-z0-9_-]+$/;

src/chrome/src/ui/settings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,8 +1241,8 @@ function renderProviders() {
12411241
openrouter: {
12421242
fields: [
12431243
{ key: 'apiKey', labelKey: 'st.provider.field.api_key', type: 'password', placeholder: 'sk-or-...' },
1244-
{ key: 'model', labelKey: 'st.provider.field.model', type: 'text', placeholder: 'minimax/minimax-m3',
1245-
suggestions: ['minimax/minimax-m3', 'stepfun/step-3.7-flash', 'minimax/minimax-m2.7', 'qwen/qwen3.7-max', 'xiaomi/mimo-v2.5-pro'] },
1244+
{ key: 'model', labelKey: 'st.provider.field.model', type: 'text', placeholder: 'openrouter/free',
1245+
suggestions: ['openrouter/free', 'minimax/minimax-m3', 'stepfun/step-3.7-flash', 'qwen/qwen3.7-max', 'xiaomi/mimo-v2.5-pro'] },
12461246
{ key: 'baseUrl', labelKey: 'st.provider.field.api_base_url', type: 'text', placeholder: 'https://openrouter.ai/api/v1' },
12471247
PROMPT_TIER_FIELD,
12481248
],

src/firefox/src/providers/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const WEBBRAIN_CLOUD_PROVIDER_ID = 'webbrain_cloud';
66
const WEBBRAIN_CLOUD_CONTEXT_WINDOW = 1000000;
77
const WEBBRAIN_CLOUD_LEGACY_CONTEXT_WINDOW = 256000;
88
const WEBBRAIN_DEVICE_GUID_KEY = 'webbrainDeviceGuid';
9-
const OPENROUTER_DEFAULT_MODEL = 'minimax/minimax-m3';
9+
const OPENROUTER_DEFAULT_MODEL = 'openrouter/free';
1010
const OPENROUTER_LEGACY_DEFAULT_MODEL = 'stepfun/step-3.7-flash';
1111
const SUPPORTED_PROVIDER_TYPES = new Set(['llamacpp', 'openai', 'anthropic', 'anthropic_oauth']);
1212
const SAFE_PROVIDER_ID_RE = /^[A-Za-z0-9_-]+$/;

src/firefox/src/ui/settings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,8 +1209,8 @@ function renderProviders() {
12091209
openrouter: {
12101210
fields: [
12111211
{ key: 'apiKey', labelKey: 'st.provider.field.api_key', type: 'password', placeholder: 'sk-or-...' },
1212-
{ key: 'model', labelKey: 'st.provider.field.model', type: 'text', placeholder: 'minimax/minimax-m3',
1213-
suggestions: ['minimax/minimax-m3', 'stepfun/step-3.7-flash', 'minimax/minimax-m2.7', 'qwen/qwen3.7-max', 'xiaomi/mimo-v2.5-pro'] },
1212+
{ key: 'model', labelKey: 'st.provider.field.model', type: 'text', placeholder: 'openrouter/free',
1213+
suggestions: ['openrouter/free', 'minimax/minimax-m3', 'stepfun/step-3.7-flash', 'qwen/qwen3.7-max', 'xiaomi/mimo-v2.5-pro'] },
12141214
{ key: 'baseUrl', labelKey: 'st.provider.field.api_base_url', type: 'text', placeholder: 'https://openrouter.ai/api/v1' },
12151215
PROMPT_TIER_FIELD,
12161216
],

0 commit comments

Comments
 (0)