fix(BaiduGPT): 修复模型设置后未返回问题
- 在设置 Baidu GPT 模型后添加 return 语句,避免继续执行其他逻辑 - 更新应用版本号至 QQBot v.1.7.11.5
This commit is contained in:
parent
068964145f
commit
12f224b8f3
@ -10,7 +10,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class QQBotApplication {
|
||||
public static final String version = "QQBot v.1.7.11.4";
|
||||
public static final String version = "QQBot v.1.7.11.5";
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("version = " + version);
|
||||
|
@ -87,6 +87,7 @@ public class BaiduGPT extends Model {
|
||||
AbsGPTManager.getManager(gptManager).clear();
|
||||
AbsGPTManager.getManager(gptManager).setModel(text);
|
||||
QQBotManager.getInstance().sendMessage(event.isUser(), qq, list);
|
||||
return;
|
||||
}
|
||||
if (checkImage()) {
|
||||
parseImage(event, qq);
|
||||
|
Loading…
Reference in New Issue
Block a user