Remove runtime mode selection & have unified setup flow for node.js + API access

This commit is contained in:
Will Chen
2025-04-17 16:52:20 -07:00
parent ba3c9f7a28
commit 24c1be224b
12 changed files with 377 additions and 674 deletions

View File

@@ -86,9 +86,11 @@ export type GithubUser = z.infer<typeof GithubUserSchema>;
export const UserSettingsSchema = z.object({
selectedModel: LargeLanguageModelSchema,
providerSettings: z.record(z.string(), ProviderSettingSchema),
runtimeMode: RuntimeModeSchema,
githubUser: GithubUserSchema.optional(),
githubAccessToken: SecretSchema.optional(),
// DEPRECATED.
runtimeMode: RuntimeModeSchema.optional(),
});
/**