Skip to content

Commit 9d1803d

Browse files
committed
chore: generate
1 parent 91787ce commit 9d1803d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

packages/opencode/src/provider/provider.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -598,14 +598,14 @@ export namespace Provider {
598598
providerID: provider.id,
599599
name: model.name,
600600
family: model.family,
601-
api: {
602-
id: model.id,
603-
url: provider.api!,
604-
npm: iife(() => {
605-
if (provider.id.startsWith("github-copilot")) return "@ai-sdk/github-copilot"
606-
return model.provider?.npm ?? provider.npm ?? "@ai-sdk/openai-compatible"
607-
}),
608-
},
601+
api: {
602+
id: model.id,
603+
url: provider.api!,
604+
npm: iife(() => {
605+
if (provider.id.startsWith("github-copilot")) return "@ai-sdk/github-copilot"
606+
return model.provider?.npm ?? provider.npm ?? "@ai-sdk/openai-compatible"
607+
}),
608+
},
609609
status: model.status ?? "active",
610610
headers: model.headers ?? {},
611611
options: model.options ?? {},

0 commit comments

Comments
 (0)