sapper-iq 1.1.32 → 1.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sapper.mjs +1 -13
package/package.json
CHANGED
package/sapper.mjs
CHANGED
|
@@ -1103,19 +1103,7 @@ TOOL SYNTAX:
|
|
|
1103
1103
|
// Don't break - just warn. User can Ctrl+C if needed
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
|
-
console.log();
|
|
1107
|
-
|
|
1108
|
-
// If response has markdown, show rendered version
|
|
1109
|
-
const hasMarkdown = /\*\*|__|`|^#|^[-*] /m.test(msg);
|
|
1110
|
-
if (hasMarkdown && !msg.includes('[TOOL:')) {
|
|
1111
|
-
console.log(chalk.gray('─'.repeat(40)));
|
|
1112
|
-
const rendered = renderMarkdown(msg);
|
|
1113
|
-
const lines = rendered.split('\n');
|
|
1114
|
-
for (const line of lines) {
|
|
1115
|
-
console.log(chalk.magenta('│ ') + line);
|
|
1116
|
-
}
|
|
1117
|
-
console.log();
|
|
1118
|
-
}
|
|
1106
|
+
console.log(chalk.magenta('└─────────────────────────────────────'));
|
|
1119
1107
|
|
|
1120
1108
|
messages.push({ role: 'assistant', content: msg });
|
|
1121
1109
|
|