diff --git a/network-poc/static/index.html b/network-poc/static/index.html index 41dedfa..a9dd0a5 100644 --- a/network-poc/static/index.html +++ b/network-poc/static/index.html @@ -1765,7 +1765,8 @@ const tokGen = data.tokens_generated || 0; termLog(` ✓ ${data.model || model} (${tokGen} tok)`); if (!silent) { - termLog(` ${esc(response).replace(/\n/g,'\n ')}`, '#c9d1d9'); + const highlighted = highlightCode(response).replace(/\n/g, '\n '); + termLog(`
${highlighted}`);
}
return response;
} catch (e) {
@@ -2116,7 +2117,7 @@
Prompt: "${esc(stripSystemPrompt(data.prompt))}"