The first super admin now lands on Settings > Setup after signing up: a skippable walk through the app name, connecting a model provider and picking models, ending with where to go next. It stays under Settings to come back to. While a bot has no text model, its conversation shows a notice in the thread (centred when empty): super admins get Connect a provider and Guided setup, everyone else is told the super admin sets it up. The models modal keeps it current. The Models page's data and save logic move into useModelsOverview, shared with the setup. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
334 B
TypeScript
12 lines
334 B
TypeScript
/**
|
|
* The setup's steps, in order. Every one can be skipped.
|
|
*/
|
|
export const SetupSteps = [
|
|
{ key: "welcome", title: "Welcome" },
|
|
{ key: "provider", title: "Provider" },
|
|
{ key: "models", title: "Models" },
|
|
{ key: "ready", title: "Ready" },
|
|
] as const;
|
|
|
|
export type SetupStepKey = (typeof SetupSteps)[number]["key"];
|