bstraehle commited on
Commit
a6d1157
·
verified ·
1 Parent(s): a5c3517

Update agents/tools/chess_tools.py

Browse files
Files changed (1) hide show
  1. agents/tools/chess_tools.py +2 -2
agents/tools/chess_tools.py CHANGED
@@ -15,7 +15,7 @@ class ChessTools():
15
  fen (str): Chess position in FEN
16
 
17
  Returns:
18
- str: Chess position evaluation
19
 
20
  Raises:
21
  RuntimeError: If processing fails
@@ -32,6 +32,6 @@ class ChessTools():
32
 
33
  print(f"🤖 Evaluation: {evaluation}")
34
 
35
- return evaluation
36
  except Exception as e:
37
  raise RuntimeError(f"Processing failed: {str(e)}")
 
15
  fen (str): Chess position in FEN
16
 
17
  Returns:
18
+ str: FEN and chess position evaluation
19
 
20
  Raises:
21
  RuntimeError: If processing fails
 
32
 
33
  print(f"🤖 Evaluation: {evaluation}")
34
 
35
+ return fen, evaluation
36
  except Exception as e:
37
  raise RuntimeError(f"Processing failed: {str(e)}")