We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa1640 commit 57aa76bCopy full SHA for 57aa76b
1 file changed
src/store/authStore.ts
@@ -57,6 +57,12 @@ interface AuthState {
57
checkAgentTool: (tool: string) => void;
58
}
59
60
+// random default model selection
61
+const getRandomDefaultModel = (): CloudModelType => {
62
+ const models: CloudModelType[] = ['gpt-5.2', 'gpt-5.1', 'gpt-4.1'];
63
+ return models[Math.floor(Math.random() * models.length)];
64
+};
65
+
66
// create store
67
const authStore = create<AuthState>()(
68
persist(
@@ -70,7 +76,7 @@ const authStore = create<AuthState>()(
70
76
language: 'system',
71
77
isFirstLaunch: true,
72
78
modelType: 'cloud',
73
- cloud_model_type: 'gpt-5.2',
79
+ cloud_model_type: getRandomDefaultModel(),
74
80
initState: 'permissions',
75
81
share_token: null,
82
localProxyValue: null,
0 commit comments