This commit is contained in:
yumoqing 2024-04-15 18:17:54 +08:00
parent b54b8d518f
commit a17d7f7a94

View File

@ -65,7 +65,7 @@ bricks.LlmMsgBox = class extends bricks.HBox {
} }
chunk_ended(){ chunk_ended(){
var msg = this.llm_msg_format(); var msg = this.llm_msg_format();
var lmsg = bricks.apply_data(msg, {content:txt}); var lmsg = bricks.apply_data(msg, {content:this.w.md_content});
this.messages.push(lmsg); this.messages.push(lmsg);
} }
async set_prompt(prompt){ async set_prompt(prompt){