Update agents/tools/ai_tools.py
Browse files- agents/tools/ai_tools.py +1 -1
agents/tools/ai_tools.py
CHANGED
|
@@ -346,7 +346,7 @@ class AITools():
|
|
| 346 |
|
| 347 |
for part in response.candidates[0].content.parts:
|
| 348 |
if part.code_execution_result is not None:
|
| 349 |
-
result part.code_execution_result.output
|
| 350 |
break
|
| 351 |
|
| 352 |
print(f"🤖 Result: {result}")
|
|
|
|
| 346 |
|
| 347 |
for part in response.candidates[0].content.parts:
|
| 348 |
if part.code_execution_result is not None:
|
| 349 |
+
result = part.code_execution_result.output
|
| 350 |
break
|
| 351 |
|
| 352 |
print(f"🤖 Result: {result}")
|