We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccbc4d1 commit fdd644aCopy full SHA for fdd644a
core/agent-runtime/src/MessageConverter.ts
@@ -54,12 +54,12 @@ export class MessageConverter {
54
if (prev && prev.type === ContentBlockType.Text && block.type === ContentBlockType.Text) {
55
prev.text = {
56
value: prev.text.value + block.text.value,
57
- annotations: [...prev.text.annotations, ...block.text.annotations],
+ annotations: [ ...prev.text.annotations, ...block.text.annotations ],
58
};
59
} else {
60
result.push({
61
...block,
62
- text: { ...block.text, annotations: [...block.text.annotations] },
+ text: { ...block.text, annotations: [ ...block.text.annotations ] },
63
});
64
}
65
0 commit comments