Skip to content

Commit 482fbf5

Browse files
fix: format code
1 parent 437546a commit 482fbf5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

packages/openai-adapters/src/index.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ export function constructLlmApi(config: LLMConfig): BaseLlmApi | undefined {
7575
case "nvidia":
7676
return openAICompatible("https://integrate.api.nvidia.com/v1/", config);
7777
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+
);
7982
case "scaleway":
8083
return openAICompatible("https://api.scaleway.ai/v1/", config);
8184
case "fireworks":
@@ -111,10 +114,13 @@ export {
111114
type Completion,
112115
type CompletionCreateParams,
113116
type CompletionCreateParamsNonStreaming,
114-
type CompletionCreateParamsStreaming
117+
type CompletionCreateParamsStreaming,
115118
} from "openai/resources/index";
116119

117120
// 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";
119126
export type { LLMConfig } from "./types.js";
120-

0 commit comments

Comments
 (0)