Fix: recover bot; llama.cpp fix
This commit is contained in:
		| @@ -8,6 +8,7 @@ var ( | ||||
| 	// cache | ||||
| 	CacheRoomPrefix  = "room#" | ||||
| 	CacheStatePrefix = "state-" | ||||
| 	CacheBotPredix   = "botkey_" | ||||
| 	// sse | ||||
| 	NotifyRoomListUpdate   = "roomlistupdate" | ||||
| 	NotifyRoomUpdatePrefix = "roomupdate_" | ||||
|   | ||||
| @@ -116,7 +116,9 @@ func getGuesser(m map[string]BotPlayer, team UserTeam) string { | ||||
|  | ||||
| // WhichBotToMove returns bot name that have to move or empty string | ||||
| func (r *Room) WhichBotToMove() string { | ||||
| 	fmt.Println("looking for bot to move", "team-turn", r.TeamTurn, "mime-done", r.MimeDone, "bot-map", r.BotMap, "is_running", r.IsRunning) | ||||
| 	fmt.Println("looking for bot to move", "team-turn:", r.TeamTurn, | ||||
| 		"mime-done:", r.MimeDone, "bot-map:", r.BotMap, "is_running:", r.IsRunning, | ||||
| 		"blueMime:", r.BlueTeam.Mime, "redMime:", r.RedTeam.Mime) | ||||
| 	if !r.IsRunning { | ||||
| 		return "" | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder