Mercurial Hosting > lang
diff src/lib/Course.luan @ 52:27758f3b2d69
add hide_ruby
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 16 Aug 2025 09:56:10 +0900 |
parents | cc20eebaa74a |
children | 6c78fd83518f |
line wrap: on
line diff
--- a/src/lib/Course.luan Fri Aug 15 23:24:38 2025 +0900 +++ b/src/lib/Course.luan Sat Aug 16 09:56:10 2025 +0900 @@ -23,6 +23,7 @@ ai_system_prompt = doc.ai_system_prompt ai_first_message = doc.ai_first_message tts_instructions = doc.tts_instructions + has_ruby = doc.has_ruby == "true" } end @@ -37,6 +38,7 @@ ai_system_prompt = course.ai_system_prompt or error() ai_first_message = course.ai_first_message tts_instructions = course.tts_instructions + has_ruby = course.has_ruby and "true" or nil } end