Frank 2 meses atrás
pai
commit
d70942079a

+ 0 - 6
infra/console.ts

@@ -243,11 +243,6 @@ const logProcessor = new sst.cloudflare.Worker("LogProcessor", {
   link: [new sst.Secret("HONEYCOMB_API_KEY")],
 })
 
-const ph2 = new sst.Linkable("Placeholder2", {
-  properties: {
-    version: "1",
-  },
-})
 new sst.cloudflare.x.SolidStart("Console", {
   domain,
   path: "packages/console/app",
@@ -277,7 +272,6 @@ new sst.cloudflare.x.SolidStart("Console", {
           new sst.Secret("CLOUDFLARE_API_TOKEN", process.env.CLOUDFLARE_API_TOKEN!),
         ]
       : []),
-    ph2,
     new sst.Secret("PLACEHOLDER"),
   ],
   environment: {

+ 5 - 0
packages/console/app/src/routes/zen/util/handler.ts

@@ -75,6 +75,11 @@ export async function handler(
     parseIsStream: (url: string, body: any) => boolean
   },
 ) {
+  // TODO
+  console.log("!@!@#!#!#!@#@!")
+  console.log(Resource.PLACEHOLDER.value)
+  console.log("!@!@#!#!#!@#@!")
+
   type AuthInfo = Awaited<ReturnType<typeof authenticate>>
   type ModelInfo = Awaited<ReturnType<typeof validateModel>>
   type ProviderInfo = Awaited<ReturnType<typeof selectProvider>>