comparison src/new_chat.red.luan @ 69:f5e72f2d1025

add stt_prompt
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 23 Aug 2025 07:07:59 -0600
parents 27758f3b2d69
children 4a73af8f2203
comparison
equal deleted inserted replaced
68:a366d27db8f1 69:f5e72f2d1025
20 course_id = course.id 20 course_id = course.id
21 name = course.name 21 name = course.name
22 language = course.language 22 language = course.language
23 tts_instructions = course.tts_instructions 23 tts_instructions = course.tts_instructions
24 has_ruby = course.has_ruby 24 has_ruby = course.has_ruby
25 stt_prompt = course.stt_prompt
25 ai_thread = ai_init(course.ai_system_prompt) 26 ai_thread = ai_init(course.ai_system_prompt)
26 } 27 }
27 chat.save() 28 chat.save()
28 Http.response.send_redirect("chat.html?chat="..chat.id) 29 Http.response.send_redirect("chat.html?chat="..chat.id)
29 end 30 end