Skip to content

Commit b3756c2

Browse files
authored
Merge pull request #57 from trypear/pearai-smart
Added pearai
2 parents f1b3d46 + 9b83736 commit b3756c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/pearai/pearai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class PearAiHandler extends BaseProvider implements SingleCompletionHandl
6262
private async initializeHandler(options: ApiHandlerOptions): Promise<void> {
6363
const modelId = options.apiModelId || "pearai-model"
6464

65-
if (modelId.startsWith("pearai-model")) {
65+
if (modelId.startsWith("pearai")) {
6666
try {
6767
const response = await fetch(`${PEARAI_URL}/getPearAIAgentModels`)
6868
if (!response.ok) {

0 commit comments

Comments
 (0)