comparison src/new_chat.red.luan @ 52:27758f3b2d69

add hide_ruby
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 16 Aug 2025 09:56:10 +0900
parents cc20eebaa74a
children f5e72f2d1025
comparison
equal deleted inserted replaced
51:4581a20b8124 52:27758f3b2d69
19 user_id = user.id 19 user_id = user.id
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 ai_thread = ai_init(course.ai_system_prompt) 25 ai_thread = ai_init(course.ai_system_prompt)
25 } 26 }
26 chat.save() 27 chat.save()
27 Http.response.send_redirect("chat.html?chat="..chat.id) 28 Http.response.send_redirect("chat.html?chat="..chat.id)
28 end 29 end