mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
fix(delegate): address P2 review findings for multi-agent delegation
This commit is contained in:
parent
11fa7487d0
commit
bc002fd302
@ -450,8 +450,7 @@ public class ConversationService {
|
||||
}
|
||||
switch (part.getType()) {
|
||||
case "text" -> appendSegment(text, part.getText());
|
||||
case "thinking", "tool_call" -> { /* skip — frontend reads these from contentParts directly */ }
|
||||
case "parse_error" -> appendSegment(text, part.getText());
|
||||
case "thinking", "tool_call", "parse_error" -> { /* skip — frontend reads these from contentParts directly */ }
|
||||
case "file" -> appendSegment(text, "[附件] " + safe(part.getFileName()));
|
||||
default -> appendSegment(text, part.getText());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user