Skip to content

Commit c9c07c8

Browse files
committed
Working
1 parent 807fff6 commit c9c07c8

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/api/providers/pearai.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ export class PearAiHandler extends BaseProvider implements SingleCompletionHandl
3737
throw new Error("PearAI API key not found. Please login to PearAI.")
3838
}
3939

40-
// // Initialize with a default handler synchronously
41-
// this.handler = new AnthropicHandler({
42-
// ...options,
43-
// apiKey: options.pearaiApiKey,
44-
// anthropicBaseUrl: PEARAI_URL,
45-
// apiModelId: "claude-3-5-sonnet-20241022",
46-
// })
47-
4840
this.handler = new OpenRouterHandler({
4941
...options,
5042
openRouterBaseUrl: PEARAI_URL,
@@ -103,11 +95,6 @@ export class PearAiHandler extends BaseProvider implements SingleCompletionHandl
10395
anthropicBaseUrl: PEARAI_URL,
10496
})
10597
} else if (modelId.startsWith("deepseek")) {
106-
// this.handler = new DeepSeekHandler({
107-
// ...options,
108-
// deepSeekApiKey: options.pearaiApiKey,
109-
// deepSeekBaseUrl: PEARAI_URL,
110-
// })
11198
this.handler = new OpenRouterHandler({
11299
...options,
113100
openRouterBaseUrl: PEARAI_URL,

0 commit comments

Comments
 (0)