summaryrefslogtreecommitdiffhomepage
path: root/cloud/function/src/gateway.ts
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-08-29 19:34:56 -0400
committerFrank <[email protected]>2025-08-29 19:34:58 -0400
commitc3a25eff78635725472096fe2626021ee50f36b0 (patch)
treeadecb00a9340d2baea27b3f30f254054810d9490 /cloud/function/src/gateway.ts
parentb40c02e2583c6e35f97849e98f66609e67dac322 (diff)
downloadopencode-c3a25eff78635725472096fe2626021ee50f36b0.tar.gz
opencode-c3a25eff78635725472096fe2626021ee50f36b0.zip
wip: cloud
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"