File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -828,20 +828,12 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
828
828
let apiConfig = await this . providerSettingsManager . loadConfig ( config . name )
829
829
830
830
// Switch to pearai-model-creator model if we are in Creator Mode
831
- if ( newMode == PEARAI_CREATOR_MODE_WEBAPP_MANAGER_SLUG ) {
831
+ if ( newMode == PEARAI_CREATOR_MODE_WEBAPP_MANAGER_SLUG || newMode . includes ( 'creator' ) ) {
832
832
apiConfig = {
833
833
...apiConfig ,
834
834
apiProvider : "pearai" ,
835
835
apiModelId : "pearai-model-creator" ,
836
836
}
837
- } else {
838
- if ( apiConfig . apiModelId == "pearai-model-creator" ) {
839
- apiConfig = {
840
- ...apiConfig ,
841
- apiProvider : "pearai" ,
842
- apiModelId : "pearai-model" ,
843
- }
844
- }
845
837
}
846
838
847
839
await Promise . all ( [
You can’t perform that action at this time.
0 commit comments