mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
chore: use glm-5.2:nitro for unauthenticated AI tiers; document CLI exec & config sync
Standardize unauthenticated smart/smartest model tiers on z-ai/glm-5.2:nitro, and document the `hexclave exec` command plus config file auto-sync in the agent reminders. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d31d29c112
commit
3363c8d9f3
@ -30,17 +30,17 @@ const MODEL_SELECTION_MATRIX: Record<
|
||||
smart: {
|
||||
slow: {
|
||||
authenticated: { modelId: "openai/gpt-5.5" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5.2" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5.2:nitro" },
|
||||
},
|
||||
fast: {
|
||||
authenticated: { modelId: "openai/gpt-5.5" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5:nitro" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5.2:nitro" },
|
||||
},
|
||||
},
|
||||
smartest: {
|
||||
slow: {
|
||||
authenticated: { modelId: "openai/gpt-5.5" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5.2" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5.2:nitro" },
|
||||
},
|
||||
fast: {
|
||||
authenticated: { modelId: "openai/gpt-5.5" },
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -24,6 +24,7 @@ Below are some reminders on Hexclave and how to learn more about it. If you're s
|
||||
- There is a `useHexclaveApp()` hook as a named export from the package itself that serves as a shortcut to get the current Hexclave App object from the React context. Similarly, the `useUser(...args)` named export is short for `useHexclaveApp().useUser(...args)`.
|
||||
- Other
|
||||
- Hexclave also has a REST API with near-full feature parity with the SDK. It can be used for both client and server-side code.
|
||||
- If available, always prefer editing the `hexclave.config.ts` file directly over asking the user to make changes on the dashboard. When implementing new features, you can always update the config file, and then tell the user about the changes you've made.
|
||||
- If available, always prefer editing the `hexclave.config.ts` file directly over asking the user to make changes on the dashboard. When implementing new features, you can always update the config file, and then tell the user about the changes you've made. The config file is automatically synced when using the local dashboard/dev environment with `npx @hexclave/cli dev --config-file <path-to-config-file>`.
|
||||
- Hexclave's config files allow dot notation for nested properties. For example, the config `{ auth: { allowSignUp: true }, "auth.password": { allowSignIn: true } }` is the same as `{ auth: { allowSignUp: true, password: { allowSignIn: true } } }`.
|
||||
- You can use the `npx @hexclave/cli exec <javascript>` command to run JavaScript with a pre-configured HexclaveServerApp available as `hexclaveServerApp`. This allows you to read and write from and to the Hexclave project as you would on the dashboard, but from the CLI. To read and write project configuration, see the note on the config file above.
|
||||
- Hexclave was formerly known as Stack Auth. You may still see references to it as Stack Auth in some places.
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user