古诗返回错误处理
This commit is contained in:
parent
6501e8e66f
commit
ec593759f7
@ -12,7 +12,9 @@ public class QianWenActionCommand extends ActionCommand implements IActionComma
|
||||
public Mono<Boolean> process(Action action, BaseSession baseSession) {
|
||||
log.info("千问 Action:{}", action.getAsk());
|
||||
|
||||
return toQianWen(action, baseSession, AskTypeEnum.TTS.getCode()).flatMap(vo ->{
|
||||
return toQianWen(action,
|
||||
baseSession,
|
||||
action.getSystemTalkAnswerConfigEntity() == null ? AskTypeEnum.TTS.getCode() : action.getSystemTalkAnswerConfigEntity().getAnswerType()).flatMap(vo ->{
|
||||
//千问只调一次
|
||||
return Mono.empty();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user