summaryrefslogtreecommitdiffhomepage
path: root/cloud/function/src/gateway.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/function/src/gateway.ts')
-rw-r--r--cloud/function/src/gateway.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/function/src/gateway.ts b/cloud/function/src/gateway.ts
index 2f498276f..c8b39990f 100644
--- a/cloud/function/src/gateway.ts
+++ b/cloud/function/src/gateway.ts
@@ -3,7 +3,7 @@ import { Hono, MiddlewareHandler } from "hono"
import { cors } from "hono/cors"
import { HTTPException } from "hono/http-exception"
import { zValidator } from "@hono/zod-validator"
-import { Resource } from "sst"
+import { Resource } from "@opencode/cloud-core/util/resource.js"
import { type ProviderMetadata, type LanguageModelUsage, generateText, streamText } from "ai"
import { createAnthropic } from "@ai-sdk/anthropic"
import { createOpenAI } from "@ai-sdk/openai"