Update agents/tools/ai_tools.py
Browse files- agents/tools/ai_tools.py +4 -0
agents/tools/ai_tools.py
CHANGED
|
@@ -448,6 +448,8 @@ class AITools():
|
|
| 448 |
img_b64 = base64.b64encode(img_bytes).decode("ascii")
|
| 449 |
|
| 450 |
prompt = PROMPT_ALGEBRAIC_CHESS_NOTATION.format(question=question, best_move=best_move)
|
|
|
|
|
|
|
| 451 |
|
| 452 |
content = types.Content(
|
| 453 |
parts=[
|
|
@@ -489,6 +491,8 @@ class AITools():
|
|
| 489 |
client = AITools._get_client()
|
| 490 |
|
| 491 |
prompt = PROMPT_FINAL_ANSWER.format(question=question, answer=answer)
|
|
|
|
|
|
|
| 492 |
|
| 493 |
response = client.models.generate_content(
|
| 494 |
model=LLM_FINAL_ANSWER,
|
|
|
|
| 448 |
img_b64 = base64.b64encode(img_bytes).decode("ascii")
|
| 449 |
|
| 450 |
prompt = PROMPT_ALGEBRAIC_CHESS_NOTATION.format(question=question, best_move=best_move)
|
| 451 |
+
|
| 452 |
+
print(f"🤖 AITools: algebraic_chess_notation_tool: prompt={prompt}")
|
| 453 |
|
| 454 |
content = types.Content(
|
| 455 |
parts=[
|
|
|
|
| 491 |
client = AITools._get_client()
|
| 492 |
|
| 493 |
prompt = PROMPT_FINAL_ANSWER.format(question=question, answer=answer)
|
| 494 |
+
|
| 495 |
+
print(f"🤖 AITools: get_final_answer: prompt={prompt}")
|
| 496 |
|
| 497 |
response = client.models.generate_content(
|
| 498 |
model=LLM_FINAL_ANSWER,
|