diff src/lib/ai/claude/Ai_chat.luan @ 29:505185272dd7

edit chat
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 02 Aug 2025 22:39:48 -0600
parents 3a80ddafe5a4
children 0fb3488a017d
line wrap: on
line diff
--- a/src/lib/ai/claude/Ai_chat.luan	Sat Aug 02 20:04:35 2025 -0600
+++ b/src/lib/ai/claude/Ai_chat.luan	Sat Aug 02 22:39:48 2025 -0600
@@ -27,7 +27,7 @@
 	%><%=system_prompt%><%
 end
 
-function Ai_chat.output_messages_html(lang,thread,old_thread)
+function Ai_chat.output_messages_html(thread,old_thread)
 	if thread == nil then
 		return
 	end
@@ -56,7 +56,7 @@
 			text = html_encode(text)
 %>
 			<h3><%=who%></h3>
-			<div markdown role="<%=role%>" lang="<%=lang%>"><%=text%></div>
+			<div markdown role="<%=role%>"><%=text%></div>
 <%
 		end
 		local content = message.content or error()