wip: cloud

This commit is contained in:
Frank
2025-08-29 19:34:56 -04:00
parent b40c02e258
commit c3a25eff78
18 changed files with 83 additions and 51 deletions

View File

@@ -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"