We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1b3d46 + 9b83736 commit b3756c2Copy full SHA for b3756c2
src/api/providers/pearai/pearai.ts
@@ -62,7 +62,7 @@ export class PearAiHandler extends BaseProvider implements SingleCompletionHandl
62
private async initializeHandler(options: ApiHandlerOptions): Promise<void> {
63
const modelId = options.apiModelId || "pearai-model"
64
65
- if (modelId.startsWith("pearai-model")) {
+ if (modelId.startsWith("pearai")) {
66
try {
67
const response = await fetch(`${PEARAI_URL}/getPearAIAgentModels`)
68
if (!response.ok) {
0 commit comments