We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e41a58 commit a1f877fCopy full SHA for a1f877f
1 file changed
src/core/webview/ClineProvider.ts
@@ -828,20 +828,12 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
828
let apiConfig = await this.providerSettingsManager.loadConfig(config.name)
829
830
// Switch to pearai-model-creator model if we are in Creator Mode
831
- if (newMode == PEARAI_CREATOR_MODE_WEBAPP_MANAGER_SLUG) {
+ if (newMode == PEARAI_CREATOR_MODE_WEBAPP_MANAGER_SLUG || newMode.includes('creator')) {
832
apiConfig = {
833
...apiConfig,
834
apiProvider: "pearai",
835
apiModelId: "pearai-model-creator",
836
}
837
- } else {
838
- if (apiConfig.apiModelId == "pearai-model-creator") {
839
- apiConfig = {
840
- ...apiConfig,
841
- apiProvider: "pearai",
842
- apiModelId: "pearai-model",
843
- }
844
845
846
847
await Promise.all([
0 commit comments