Feat: renotify bot btn and handler

This commit is contained in:
Grail Finder
2025-06-13 19:37:17 +03:00
parent 4d45a886d2
commit bddaa912de
5 changed files with 32 additions and 6 deletions

View File

@ -56,6 +56,11 @@
{{template "mimeclue"}}
{{end}}
</div>
<div>
{{if and (eq .State.Username .Room.CreatorName) (.Room.IsRunning)}}
<button hx-get="/renotify-bot" class="bg-amber-100 text-black px-4 py-2 rounded">Btn in case llm call failed</button>
{{end}}
</div>
<div hx-get="/actionhistory" hx-trigger="sse:backlog_{{.Room.ID}}">
{{template "actionhistory" .Room.ActionHistory}}
</div>