This commit is contained in:
Frank
2025-09-11 19:10:53 -04:00
parent ef3425a177
commit c3dc6d6df6
3 changed files with 13 additions and 3 deletions

View File

@@ -5,8 +5,9 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"start": "tsx", "shell": "sst shell -- bun tsx",
"shell": "sst shell" "shell-dev": "sst shell --stage dev -- bun tsx",
"shell-prod": "sst shell --stage production -- bun tsx"
}, },
"dependencies": { "dependencies": {
"@opencode/cloud-core": "workspace:*", "@opencode/cloud-core": "workspace:*",

View File

@@ -0,0 +1,10 @@
import { Database, eq } from "@opencode/cloud-core/drizzle/index.js"
import { UsageTable } from "@opencode/cloud-core/schema/billing.sql.js"
await Database.use(async (tx) => {
await tx
.update(UsageTable)
.set({ model: "grok-code" })
.where(eq(UsageTable.model, "x-ai/grok-code-fast-1"))
.limit(90000)
})

View File

@@ -1 +0,0 @@
// placeholder