mirror of
http://112.124.100.131/ebiz-ai/ebiz-base-ai.git
synced 2025-12-06 17:36:48 +08:00
fix(AI):修复信息展示逻辑并添加调试日志-修复了 messageInfo 对象中 information 属性的赋值逻辑- 添加了调试日志,打印 text 变量和自定义标识符123-优化了代码结构,提高了可读性
This commit is contained in:
@@ -342,7 +342,7 @@ export default {
|
||||
const information = /<information>([^<]*)(?:<\/information>)?/.exec(this.answerMap)
|
||||
const text = /<text>([^<]*)(?:<\/text>)?/.exec(this.answerMap)
|
||||
// console.log(this.answerMap);
|
||||
|
||||
console.log(text, 123)
|
||||
this.messageInfo.information = information ? information[1].trim() : this.newMessage
|
||||
this.messageInfo.is_complete = is_complete ? is_complete[1].trim() : 'false'
|
||||
if (is_complete && is_complete[1] === 'true' && text && text[1].trim() === '') {
|
||||
|
||||
Reference in New Issue
Block a user