addded file name headers
Browse files- agent_factory.py +1 -0
- app.py +1 -0
- config.py +1 -0
- scripts/cookies.py +1 -0
- scripts/gaia_scorer.py +1 -0
- scripts/mdconvert.py +1 -3
- scripts/reformulator.py +1 -2
- scripts/run_agents.py +1 -0
- scripts/text_inspector_tool.py +1 -0
- scripts/text_web_browser.py +1 -2
- scripts/visual_qa.py +1 -0
- tools.py +1 -0
- ui.py +1 -0
agent_factory.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
from smolagents import CodeAgent, InferenceClientModel
|
| 2 |
|
| 3 |
from config import AUTHORIZED_IMPORTS, CUSTOM_ROLE_CONVERSIONS, MODEL_ID
|
|
|
|
| 1 |
+
# agent_factory.py
|
| 2 |
from smolagents import CodeAgent, InferenceClientModel
|
| 3 |
|
| 4 |
from config import AUTHORIZED_IMPORTS, CUSTOM_ROLE_CONVERSIONS, MODEL_ID
|
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
from ui import GradioUI
|
| 2 |
|
| 3 |
if __name__ == "__main__":
|
|
|
|
| 1 |
+
# app.py
|
| 2 |
from ui import GradioUI
|
| 3 |
|
| 4 |
if __name__ == "__main__":
|
config.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import os
|
| 2 |
import threading
|
| 3 |
|
|
|
|
| 1 |
+
# config.py
|
| 2 |
import os
|
| 3 |
import threading
|
| 4 |
|
scripts/cookies.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
from requests.cookies import RequestsCookieJar
|
| 2 |
|
| 3 |
|
|
|
|
| 1 |
+
# cookies.py
|
| 2 |
from requests.cookies import RequestsCookieJar
|
| 3 |
|
| 4 |
|
scripts/gaia_scorer.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import re
|
| 2 |
import string
|
| 3 |
import warnings
|
|
|
|
| 1 |
+
# gaia_scorer.py
|
| 2 |
import re
|
| 3 |
import string
|
| 4 |
import warnings
|
scripts/mdconvert.py
CHANGED
|
@@ -1,6 +1,4 @@
|
|
| 1 |
-
#
|
| 2 |
-
# Thanks to Microsoft researchers for open-sourcing this!
|
| 3 |
-
# type: ignore
|
| 4 |
import base64
|
| 5 |
import copy
|
| 6 |
import html
|
|
|
|
| 1 |
+
# mdconvert.py
|
|
|
|
|
|
|
| 2 |
import base64
|
| 3 |
import copy
|
| 4 |
import html
|
scripts/reformulator.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
-
#
|
| 2 |
-
# https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/autogen/browser_utils.py
|
| 3 |
import copy
|
| 4 |
|
| 5 |
from smolagents.models import MessageRole, Model
|
|
|
|
| 1 |
+
# reformulator.py
|
|
|
|
| 2 |
import copy
|
| 3 |
|
| 4 |
from smolagents.models import MessageRole, Model
|
scripts/run_agents.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import json
|
| 2 |
import os
|
| 3 |
import shutil
|
|
|
|
| 1 |
+
# run_agents.py
|
| 2 |
import json
|
| 3 |
import os
|
| 4 |
import shutil
|
scripts/text_inspector_tool.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
from typing import Optional
|
| 2 |
|
| 3 |
from smolagents import Tool
|
|
|
|
| 1 |
+
# text_inspector_tool.py
|
| 2 |
from typing import Optional
|
| 3 |
|
| 4 |
from smolagents import Tool
|
scripts/text_web_browser.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
-
#
|
| 2 |
-
# https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/autogen/browser_utils.py
|
| 3 |
import mimetypes
|
| 4 |
import os
|
| 5 |
import pathlib
|
|
|
|
| 1 |
+
# text_web_browser.py
|
|
|
|
| 2 |
import mimetypes
|
| 3 |
import os
|
| 4 |
import pathlib
|
scripts/visual_qa.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import base64
|
| 2 |
import json
|
| 3 |
import mimetypes
|
|
|
|
| 1 |
+
# visual_qa.py
|
| 2 |
import base64
|
| 3 |
import json
|
| 4 |
import mimetypes
|
tools.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
import requests
|
|
|
|
| 1 |
+
# tools.py
|
| 2 |
import os
|
| 3 |
|
| 4 |
import requests
|
ui.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import mimetypes
|
| 2 |
import os
|
| 3 |
import re
|
|
|
|
| 1 |
+
# ui.py
|
| 2 |
import mimetypes
|
| 3 |
import os
|
| 4 |
import re
|