File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
packages/openai-adapters/src Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,10 @@ export function constructLlmApi(config: LLMConfig): BaseLlmApi | undefined {
75
75
case "nvidia" :
76
76
return openAICompatible ( "https://integrate.api.nvidia.com/v1/" , config ) ;
77
77
case "ovhcloud" :
78
- return openAICompatible ( "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/" , config ) ;
78
+ return openAICompatible (
79
+ "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/" ,
80
+ config ,
81
+ ) ;
79
82
case "scaleway" :
80
83
return openAICompatible ( "https://api.scaleway.ai/v1/" , config ) ;
81
84
case "fireworks" :
@@ -111,10 +114,13 @@ export {
111
114
type Completion ,
112
115
type CompletionCreateParams ,
113
116
type CompletionCreateParamsNonStreaming ,
114
- type CompletionCreateParamsStreaming
117
+ type CompletionCreateParamsStreaming ,
115
118
} from "openai/resources/index" ;
116
119
117
120
// export
118
- export type { BaseLlmApi , VllmRerankItem , VllmRerankResponse } from "./apis/base.js" ;
121
+ export type {
122
+ BaseLlmApi ,
123
+ VllmRerankItem ,
124
+ VllmRerankResponse ,
125
+ } from "./apis/base.js" ;
119
126
export type { LLMConfig } from "./types.js" ;
120
-
You can’t perform that action at this time.
0 commit comments