From c483d894d975637f7caf70deb438d28cdcb74839 Mon Sep 17 00:00:00 2001 From: Kumaran Rajendhiran Date: Fri, 10 Jan 2025 15:18:48 +0000 Subject: [PATCH] Reformat a notebook which someone forgot --- notebook/agentchat_nested_chats_chess_altmodels.ipynb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/notebook/agentchat_nested_chats_chess_altmodels.ipynb b/notebook/agentchat_nested_chats_chess_altmodels.ipynb index 2444b86a9..826607543 100644 --- a/notebook/agentchat_nested_chats_chess_altmodels.ipynb +++ b/notebook/agentchat_nested_chats_chess_altmodels.ipynb @@ -119,12 +119,10 @@ "made_move = False\n", "\n", "\n", - "def get_legal_moves() -> (\n", - " Annotated[\n", - " str,\n", - " \"Call this tool to list of all legal chess moves on the board, output is a list in UCI format, e.g. e2e4,e7e5,e7e8q.\",\n", - " ]\n", - "):\n", + "def get_legal_moves() -> Annotated[\n", + " str,\n", + " \"Call this tool to list of all legal chess moves on the board, output is a list in UCI format, e.g. e2e4,e7e5,e7e8q.\",\n", + "]:\n", " return \"Possible moves are: \" + \",\".join([str(move) for move in board.legal_moves])\n", "\n", "\n",