Skip to content

Commit eba3d14

Browse files
committed
Added pearai with anthropic
1 parent fe68b50 commit eba3d14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/providers/pearai.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { OpenAiHandler } from "./openai"
22
import { ApiHandlerOptions, PEARAI_URL } from "../../shared/api"
3+
import { AnthropicHandler } from "./anthropic"
34

4-
export class PearAiHandler extends OpenAiHandler {
5+
export class PearAiHandler extends AnthropicHandler {
56
constructor(options: ApiHandlerOptions) {
67
if (!options.pearaiApiKey) {
78
throw new Error("PearAI API key not found. Please login to PearAI.")

0 commit comments

Comments
 (0)