mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 21:49:53 +00:00
wip: cloud
This commit is contained in:
parent
b40c02e258
commit
c3a25eff78
18 changed files with 83 additions and 51 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue