comparison src/private/tools/chat.html.luan @ 46:cc20eebaa74a

use openai tts
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 14 Aug 2025 11:27:34 +0900
parents 0fb3488a017d
children 4581a20b8124
comparison
equal deleted inserted replaced
45:fef7a5c65cfb 46:cc20eebaa74a
39 <% chat.output_messages_html() %> 39 <% chat.output_messages_html() %>
40 </div> 40 </div>
41 </div> 41 </div>
42 <% if process_markdown then %> 42 <% if process_markdown then %>
43 <script> 43 <script>
44 handleMarkdown(<%=json_string(chat.language_region)%>,<%=json_string(chat.voice)%>); 44 handleMarkdown(<%=json_string(chat.voice)%>,<%=json_string(chat.tts_instructions)%>);
45 </script> 45 </script>
46 <% end %> 46 <% end %>
47 </body> 47 </body>
48 </html> 48 </html>
49 <% 49 <%