Commit ·
7c53c52
1
Parent(s): 741f470
Update tools list in MainAgent
Browse files2 unmodified lines34566789101112131415168 unmodified lines252627282930313233348 unmodified lines434445414647484950515253542 unmodified linesfrom smolagents import OpenAIServerModel, ToolCallingAgent
from tools import ( AudioTranscriber, AudioTranscriberTool, txt_reader, pdf_reader, excel_reader, math_calculator, search_engine, image_transcriber, YoutubeTranscriberTool,)from utils import OPENAI_MODEL_ID
8 unmodified linesIf you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
Each question will contain the question, the task ID, and if available, a file name.
Key points:- Do not add any prefix or suffix to YOUR FINAL ANSWER.- Answer shortly and concisely, following the template strictly."""
8 unmodified lines tools=[ search_engine, math_calculator, AudioTranscriber(), AudioTranscriberTool(), txt_reader, pdf_reader, excel_reader, image_transcriber, YoutubeTranscriberTool(), ], max_steps=5, model=model,agent.py+8-2