fix 'unusual query volume' check
This commit is contained in:
@@ -529,9 +529,6 @@ class YouProvider {
|
||||
}
|
||||
|
||||
checkAndSwitchMode() {
|
||||
// 如果当前模式不可用
|
||||
if (!this.modeStatus[this.currentMode]) {
|
||||
|
||||
const availableModes = Object.keys(this.modeStatus).filter(mode => this.modeStatus[mode]);
|
||||
|
||||
if (availableModes.length === 0) {
|
||||
@@ -542,7 +539,6 @@ class YouProvider {
|
||||
this.rotationEnabled = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async getCompletion({username, messages, stream = false, proxyModel, useCustomMode = false}) {
|
||||
if (this.networkMonitor.isNetworkBlocked()) {
|
||||
|
||||
Reference in New Issue
Block a user