File tree Expand file tree Collapse file tree
packages/opencode/src/provider Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ?? { } ,
You can’t perform that action at this time.
0 commit comments