shortcuts
This commit is contained in:
1 parent
a5ce5e4be2
commit
fe0aca2069
2 files changed
+17
-14
No files matched your search
+1
-3
@@ -430,9 +430,7 @@ def generate_ai_move(game: Game, ai_mode: str, ai_settings: Dict) -> Tuple[Move,
|
||||
ai_thoughts += f"{ai_mode} strategy. Top 5 Candidates {', '.join(cands)} "
|
||||
aimove = moves_with_settledness[0][0]
|
||||
else:
|
||||
raise(
|
||||
Exception("No moves found - are you using an older KataGo with no per-move ownership info?")
|
||||
)
|
||||
raise (Exception("No moves found - are you using an older KataGo with no per-move ownership info?"))
|
||||
else:
|
||||
if ai_mode not in [AI_DEFAULT, AI_HANDICAP]:
|
||||
game.katrain.log(f"Unknown AI mode {ai_mode} or policy missing, using default.", OUTPUT_INFO)
|
||||
|
||||
Reference in new issue
Block a user