summaryrefslogtreecommitdiffhomepage
path: root/infra/console.ts
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-11-21 12:50:51 -0500
committerFrank <[email protected]>2025-11-21 12:50:51 -0500
commit037e8d4555b770c7cf33dd10a5c9746c50d2f597 (patch)
treee232290a057c24033f88582353bb13d43398e1e1 /infra/console.ts
parent08a366c4dcd9fa2bbf95727850a2ee92055781b8 (diff)
downloadopencode-037e8d4555b770c7cf33dd10a5c9746c50d2f597.tar.gz
opencode-037e8d4555b770c7cf33dd10a5c9746c50d2f597.zip
wip: zen
Diffstat (limited to 'infra/console.ts')
-rw-r--r--infra/console.ts11
1 files changed, 7 insertions, 4 deletions
diff --git a/infra/console.ts b/infra/console.ts
index d8e4e5bd6..b614da411 100644
--- a/infra/console.ts
+++ b/infra/console.ts
@@ -97,8 +97,12 @@ export const stripeWebhook = new stripe.WebhookEndpoint("StripeWebhookEndpoint",
],
})
-const ZEN_MODELS1 = new sst.Secret("ZEN_MODELS1")
-const ZEN_MODELS2 = new sst.Secret("ZEN_MODELS2")
+const ZEN_MODELS = [
+ new sst.Secret("ZEN_MODELS1"),
+ new sst.Secret("ZEN_MODELS2"),
+ new sst.Secret("ZEN_MODELS3"),
+ new sst.Secret("ZEN_MODELS4"),
+]
const STRIPE_SECRET_KEY = new sst.Secret("STRIPE_SECRET_KEY")
const AUTH_API_URL = new sst.Linkable("AUTH_API_URL", {
properties: { value: auth.url.apply((url) => url!) },
@@ -132,11 +136,10 @@ new sst.cloudflare.x.SolidStart("Console", {
AUTH_API_URL,
STRIPE_WEBHOOK_SECRET,
STRIPE_SECRET_KEY,
- ZEN_MODELS1,
- ZEN_MODELS2,
EMAILOCTOPUS_API_KEY,
AWS_SES_ACCESS_KEY_ID,
AWS_SES_SECRET_ACCESS_KEY,
+ ...ZEN_MODELS,
...($dev
? [
new sst.Secret("CLOUDFLARE_DEFAULT_ACCOUNT_ID", process.env.CLOUDFLARE_DEFAULT_ACCOUNT_ID!),