summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2025-11-14 22:44:36 +0000
committerGitHub Action <[email protected]>2025-11-14 22:44:36 +0000
commit078111bd961c417725c04658ffd8e5e3fd7b01b8 (patch)
treedf399f5e616b4489ba6176051d8e5db93035fc2f
parent736f8882f5bf98dae53ed842c328913fac8d76b9 (diff)
downloadopencode-078111bd961c417725c04658ffd8e5e3fd7b01b8.tar.gz
opencode-078111bd961c417725c04658ffd8e5e3fd7b01b8.zip
chore: format code
-rw-r--r--packages/opencode/src/provider/provider.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/opencode/src/provider/provider.ts b/packages/opencode/src/provider/provider.ts
index 9aa960f1c..e845944e0 100644
--- a/packages/opencode/src/provider/provider.ts
+++ b/packages/opencode/src/provider/provider.ts
@@ -470,7 +470,7 @@ export namespace Provider {
const key = Bun.hash.xxHash32(JSON.stringify({ pkg, options }))
const existing = s.sdk.get(key)
if (existing) return existing
-
+
let installedPath: string
if (!pkg.startsWith("file://")) {
installedPath = await BunProc.install(pkg, "latest")
@@ -478,7 +478,7 @@ export namespace Provider {
log.info("loading local provider", { pkg })
installedPath = pkg
}
-
+
// The `google-vertex-anthropic` provider points to the `@ai-sdk/google-vertex` package.
// Ref: https://github.com/sst/models.dev/blob/0a87de42ab177bebad0620a889e2eb2b4a5dd4ab/providers/google-vertex-anthropic/provider.toml
// However, the actual export is at the subpath `@ai-sdk/google-vertex/anthropic`.