We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1b3d46 commit 9b83736Copy full SHA for 9b83736
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