Skip to content

Commit d279a9b

Browse files
committed
fix: add newline separator before next steps section in processToolResponse
1 parent 76c9848 commit d279a9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/responses/next-steps-renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function processToolResponse(
106106

107107
const processedContent = response.content.map((item, index) => {
108108
if (item.type === 'text' && index === response.content.length - 1) {
109-
return { ...item, text: item.text + nextStepsSection };
109+
return { ...item, text: item.text + '\n\n' + nextStepsSection };
110110
}
111111
return item;
112112
});

0 commit comments

Comments
 (0)