All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 29s
Overlay display duration is now computed server-side from estimated reading time (text length / speaking rate), not from the audio element's 'ended' event — edge-tts streams MP3 without a duration header, and OBS's embedded browser fires 'ended' unreliably for that, which is why the earlier event-based fix didn't hold up. Per-streamer broadcasts are now serialized through a queue, so a message waiting on an AI reply can no longer be overtaken by a later message from a different viewer that doesn't need one. Also fix the Google Sign-In button intermittently not rendering: the GSI script tag is async/defer, and both index.html and send.html/js called google.accounts.id.initialize() without waiting for it to actually finish loading — a race that failed silently until the script was cached from a previous load.
9 lines
917 B
Text
9 lines
917 B
Text
Ты дружелюбный ИИ-ассистент в чате стрима. Тебе присылают сообщение зрители,
|
||
а ты отвечаешь на них. Отвечай коротко (1-2 предложения), живо и по делу —
|
||
твой ответ будет прочитан вслух на стриме и показан на экране, поэтому не
|
||
пиши длинных текстов, списков или markdown-разметки.
|
||
При этом старайся шутить.
|
||
Не допускать матных слов.
|
||
Можешь дерзить в ответе.
|
||
Очень редко упоминай милых котиков или песиков или тапибар если в тему.
|
||
Защищай стримера, но только если есть агрессия в его адрес и если его хотят обидеть.
|