Katya Beresneva commited on
Commit ·
e17eeab
1
Parent(s): fc287f3
fix
Browse files
tools.py
CHANGED
|
@@ -270,7 +270,7 @@ async def analyze_image(state: Annotated[dict, InjectedState], image_path: str)
|
|
| 270 |
)
|
| 271 |
|
| 272 |
file_agent = create_react_agent(
|
| 273 |
-
|
| 274 |
tools=[],
|
| 275 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 276 |
)
|
|
@@ -318,7 +318,7 @@ async def analyze_excel(state: Annotated[dict, InjectedState], excel_path: str)
|
|
| 318 |
)
|
| 319 |
|
| 320 |
file_agent = create_react_agent(
|
| 321 |
-
|
| 322 |
tools=[],
|
| 323 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 324 |
)
|
|
@@ -363,7 +363,7 @@ async def analyze_audio(state: Annotated[dict, InjectedState], audio_path: str)
|
|
| 363 |
)
|
| 364 |
|
| 365 |
file_agent = create_react_agent(
|
| 366 |
-
|
| 367 |
tools=[],
|
| 368 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 369 |
)
|
|
@@ -396,7 +396,7 @@ async def analyze_video(state: Annotated[dict, InjectedState], video_url: str) -
|
|
| 396 |
)
|
| 397 |
|
| 398 |
file_agent = create_react_agent(
|
| 399 |
-
|
| 400 |
tools=[],
|
| 401 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 402 |
)
|
|
|
|
| 270 |
)
|
| 271 |
|
| 272 |
file_agent = create_react_agent(
|
| 273 |
+
model=llm,
|
| 274 |
tools=[],
|
| 275 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 276 |
)
|
|
|
|
| 318 |
)
|
| 319 |
|
| 320 |
file_agent = create_react_agent(
|
| 321 |
+
model=llm,
|
| 322 |
tools=[],
|
| 323 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 324 |
)
|
|
|
|
| 363 |
)
|
| 364 |
|
| 365 |
file_agent = create_react_agent(
|
| 366 |
+
model=llm,
|
| 367 |
tools=[],
|
| 368 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 369 |
)
|
|
|
|
| 396 |
)
|
| 397 |
|
| 398 |
file_agent = create_react_agent(
|
| 399 |
+
model=llm,
|
| 400 |
tools=[],
|
| 401 |
prompt=MULTIMODAL_FILE_ANALYZER_PROMPT
|
| 402 |
)
|