Skip to content

Commit af7ad2b

Browse files
committed
Switch away from pearai-model-creator
1 parent d33a6db commit af7ad2b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/core/webview/ClineProvider.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,14 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
834834
apiProvider: "pearai",
835835
apiModelId: "pearai-model-creator",
836836
}
837+
} else {
838+
if (apiConfig.apiModelId == "pearai-model-creator") {
839+
apiConfig = {
840+
...apiConfig,
841+
apiProvider: "pearai",
842+
apiModelId: "pearai-model",
843+
}
844+
}
837845
}
838846

839847
await Promise.all([

0 commit comments

Comments
 (0)