Update agents/tools/ai_tools.py
Browse files- agents/tools/ai_tools.py +1 -3
agents/tools/ai_tools.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
# https://docs.crewai.com/introduction
|
| 4 |
# https://ai.google.dev/gemini-api/docs
|
| 5 |
|
| 6 |
-
import base64,
|
| 7 |
from agents.models.llms import (
|
| 8 |
LLM_WEB_SEARCH,
|
| 9 |
LLM_WEB_BROWSER,
|
|
@@ -550,8 +550,6 @@ class AITools():
|
|
| 550 |
if "/" in line and (" w " in line or " b " in line):
|
| 551 |
result = line
|
| 552 |
break
|
| 553 |
-
|
| 554 |
-
board = chess.Board(result) # FEN validation
|
| 555 |
|
| 556 |
print(f"🛠️ AITools: img_to_fen_tool: model={model}")
|
| 557 |
if model != LLM_FALLBACK:
|
|
|
|
| 3 |
# https://docs.crewai.com/introduction
|
| 4 |
# https://ai.google.dev/gemini-api/docs
|
| 5 |
|
| 6 |
+
import base64, os, re, time
|
| 7 |
from agents.models.llms import (
|
| 8 |
LLM_WEB_SEARCH,
|
| 9 |
LLM_WEB_BROWSER,
|
|
|
|
| 550 |
if "/" in line and (" w " in line or " b " in line):
|
| 551 |
result = line
|
| 552 |
break
|
|
|
|
|
|
|
| 553 |
|
| 554 |
print(f"🛠️ AITools: img_to_fen_tool: model={model}")
|
| 555 |
if model != LLM_FALLBACK:
|