Feat: save room even if llm failed to properly guess; fix prompt
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user