bstraehle commited on
Commit
d73f1be
ยท
verified ยท
1 Parent(s): fa31641

Update agents/tools/ai_tools.py

Browse files
Files changed (1) hide show
  1. agents/tools/ai_tools.py +9 -9
agents/tools/ai_tools.py CHANGED
@@ -78,7 +78,7 @@ class AITools():
78
  result = response.text
79
 
80
  print(f"๐Ÿ› ๏ธ AITools: {tool_name}: model={model}")
81
- print(f"๐Ÿ› ๏ธ AITools: {tool_name}: thinking_level={THINKING_LEVEL_MEDIA_ANALYSIS}")
82
  print(f"๐Ÿ› ๏ธ AITools: {tool_name}: result={result}")
83
 
84
  return result
@@ -127,7 +127,7 @@ class AITools():
127
  result = response.text
128
 
129
  print(f"๐Ÿ› ๏ธ AITools: web_search_tool: model={LLM_WEB_SEARCH}")
130
- print(f"๐Ÿ› ๏ธ AITools: web_search_tool: thinking_level={THINKING_LEVEL_WEB_SEARCH}")
131
  print(f"๐Ÿ› ๏ธ AITools: web_search_tool: result={result}")
132
 
133
  return result
@@ -267,7 +267,7 @@ class AITools():
267
  )
268
 
269
  print(f"๐Ÿ› ๏ธ AITools: youtube_analysis_tool: model={LLM_YOUTUBE_ANALYSIS}")
270
- print(f"๐Ÿ› ๏ธ AITools: youtube_analysis_tool: thinking_level={THINKING_LEVEL_YOUTUBE_ANALYSIS}")
271
  print(f"๐Ÿ› ๏ธ AITools: youtube_analysis_tool: result={result}")
272
 
273
  return result
@@ -323,7 +323,7 @@ class AITools():
323
  result = response.text
324
 
325
  print(f"๐Ÿ› ๏ธ AITools: document_analysis_tool: model={LLM_DOCUMENT_ANALYSIS}")
326
- print(f"๐Ÿ› ๏ธ AITools: document_analysis_tool: thinking_level={THINKING_LEVEL_DOCUMENT_ANALYSIS}")
327
  print(f"๐Ÿ› ๏ธ AITools: document_analysis_tool: result={result}")
328
 
329
  return result
@@ -365,7 +365,7 @@ class AITools():
365
  result = AITools._extract_execution_result(response)
366
 
367
  print(f"๐Ÿ› ๏ธ AITools: code_generation_and_execution_tool: model={LLM_CODE_GENERATION}")
368
- print(f"๐Ÿ› ๏ธ AITools: code_generation_and_execution_tool: thinking_level={THINKING_LEVEL_CODE_GENERATION}")
369
  print(f"๐Ÿ› ๏ธ AITools: code_generation_and_execution_tool: result={result}")
370
 
371
  return result
@@ -410,7 +410,7 @@ class AITools():
410
  result = AITools._extract_execution_result(response)
411
 
412
  print(f"๐Ÿ› ๏ธ AITools: code_execution_tool: model={LLM_CODE_EXECUTION}")
413
- print(f"๐Ÿ› ๏ธ AITools: code_execution_tool: thinking_level={THINKING_LEVEL_CODE_EXECUTION}")
414
  print(f"๐Ÿ› ๏ธ AITools: code_execution_tool: result={result}")
415
 
416
  return result
@@ -478,7 +478,7 @@ class AITools():
478
  board = chess.Board(result) # FEN validation
479
 
480
  print(f"๐Ÿ› ๏ธ AITools: img_to_fen_tool: model={LLM_IMAGE_TO_FEN}")
481
- print(f"๐Ÿ› ๏ธ AITools: img_to_fen_tool: thinking_level={THINKING_LEVEL_IMAGE_TO_FEN}")
482
  print(f"๐Ÿ› ๏ธ AITools: img_to_fen_tool: result={result}")
483
 
484
  return result
@@ -544,7 +544,7 @@ class AITools():
544
  break
545
 
546
  print(f"๐Ÿ› ๏ธ AITools: algebraic_notation_tool: model={LLM_ALGEBRAIC_NOTATION}")
547
- print(f"๐Ÿ› ๏ธ AITools: algebraic_notation_tool: thinking_level={THINKING_LEVEL_ALGEBRAIC_NOTATION}")
548
  print(f"๐Ÿ› ๏ธ AITools: algebraic_notation_tool: result={result}")
549
 
550
  return result
@@ -587,7 +587,7 @@ class AITools():
587
  result = response.text.strip()
588
 
589
  print(f"๐Ÿ› ๏ธ AITools: final_answer_tool: model={LLM_FINAL_ANSWER}")
590
- print(f"๐Ÿ› ๏ธ AITools: final_answer_tool: thinking_level={THINKING_LEVEL_FINAL_ANSWER}")
591
  print(f"๐Ÿ› ๏ธ AITools: final_answer_tool: result={result}")
592
 
593
  return result
 
78
  result = response.text
79
 
80
  print(f"๐Ÿ› ๏ธ AITools: {tool_name}: model={model}")
81
+ #print(f"๐Ÿ› ๏ธ AITools: {tool_name}: thinking_level={THINKING_LEVEL_MEDIA_ANALYSIS}")
82
  print(f"๐Ÿ› ๏ธ AITools: {tool_name}: result={result}")
83
 
84
  return result
 
127
  result = response.text
128
 
129
  print(f"๐Ÿ› ๏ธ AITools: web_search_tool: model={LLM_WEB_SEARCH}")
130
+ #print(f"๐Ÿ› ๏ธ AITools: web_search_tool: thinking_level={THINKING_LEVEL_WEB_SEARCH}")
131
  print(f"๐Ÿ› ๏ธ AITools: web_search_tool: result={result}")
132
 
133
  return result
 
267
  )
268
 
269
  print(f"๐Ÿ› ๏ธ AITools: youtube_analysis_tool: model={LLM_YOUTUBE_ANALYSIS}")
270
+ #print(f"๐Ÿ› ๏ธ AITools: youtube_analysis_tool: thinking_level={THINKING_LEVEL_YOUTUBE_ANALYSIS}")
271
  print(f"๐Ÿ› ๏ธ AITools: youtube_analysis_tool: result={result}")
272
 
273
  return result
 
323
  result = response.text
324
 
325
  print(f"๐Ÿ› ๏ธ AITools: document_analysis_tool: model={LLM_DOCUMENT_ANALYSIS}")
326
+ #print(f"๐Ÿ› ๏ธ AITools: document_analysis_tool: thinking_level={THINKING_LEVEL_DOCUMENT_ANALYSIS}")
327
  print(f"๐Ÿ› ๏ธ AITools: document_analysis_tool: result={result}")
328
 
329
  return result
 
365
  result = AITools._extract_execution_result(response)
366
 
367
  print(f"๐Ÿ› ๏ธ AITools: code_generation_and_execution_tool: model={LLM_CODE_GENERATION}")
368
+ #print(f"๐Ÿ› ๏ธ AITools: code_generation_and_execution_tool: thinking_level={THINKING_LEVEL_CODE_GENERATION}")
369
  print(f"๐Ÿ› ๏ธ AITools: code_generation_and_execution_tool: result={result}")
370
 
371
  return result
 
410
  result = AITools._extract_execution_result(response)
411
 
412
  print(f"๐Ÿ› ๏ธ AITools: code_execution_tool: model={LLM_CODE_EXECUTION}")
413
+ #print(f"๐Ÿ› ๏ธ AITools: code_execution_tool: thinking_level={THINKING_LEVEL_CODE_EXECUTION}")
414
  print(f"๐Ÿ› ๏ธ AITools: code_execution_tool: result={result}")
415
 
416
  return result
 
478
  board = chess.Board(result) # FEN validation
479
 
480
  print(f"๐Ÿ› ๏ธ AITools: img_to_fen_tool: model={LLM_IMAGE_TO_FEN}")
481
+ #print(f"๐Ÿ› ๏ธ AITools: img_to_fen_tool: thinking_level={THINKING_LEVEL_IMAGE_TO_FEN}")
482
  print(f"๐Ÿ› ๏ธ AITools: img_to_fen_tool: result={result}")
483
 
484
  return result
 
544
  break
545
 
546
  print(f"๐Ÿ› ๏ธ AITools: algebraic_notation_tool: model={LLM_ALGEBRAIC_NOTATION}")
547
+ #print(f"๐Ÿ› ๏ธ AITools: algebraic_notation_tool: thinking_level={THINKING_LEVEL_ALGEBRAIC_NOTATION}")
548
  print(f"๐Ÿ› ๏ธ AITools: algebraic_notation_tool: result={result}")
549
 
550
  return result
 
587
  result = response.text.strip()
588
 
589
  print(f"๐Ÿ› ๏ธ AITools: final_answer_tool: model={LLM_FINAL_ANSWER}")
590
+ #print(f"๐Ÿ› ๏ธ AITools: final_answer_tool: thinking_level={THINKING_LEVEL_FINAL_ANSWER}")
591
  print(f"๐Ÿ› ๏ธ AITools: final_answer_tool: result={result}")
592
 
593
  return result