Feat: save room even if llm failed to properly guess; fix prompt

This commit is contained in:
Grail Finder
2025-06-26 11:36:27 +03:00
parent 661a320fb5
commit 12fe92b261
7 changed files with 134 additions and 117 deletions

View File

@ -153,9 +153,7 @@ func HandleStartGame(w http.ResponseWriter, r *http.Request) {
Actor: fi.State.Username,
ActorColor: string(fi.State.Team),
WordColor: string(fi.State.Team),
Action: "game started",
// Word: clue,
// Number: num,
Action: models.ActionTypeGameStarted,
}
fi.Room.ActionHistory = append(fi.Room.ActionHistory, action)
if err := saveFullInfo(fi); err != nil {