Updated the README and added the README to the app for viewing
Browse files- .gitignore +2 -1
- README.md +4 -0
- app.py +9 -1
- mcp_hub/__pycache__/__init__.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/cache_utils.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/config.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/exceptions.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/health_monitoring.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/logging_config.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/package_utils.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/performance_monitoring.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/reliability_utils.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/sandbox_pool.cpython-312.pyc +0 -0
- mcp_hub/__pycache__/utils.cpython-312.pyc +0 -0
.gitignore
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Python-generated files
|
| 2 |
-
__pycache__/
|
| 3 |
*.py[oc]
|
| 4 |
build/
|
| 5 |
dist/
|
|
@@ -24,3 +24,4 @@ htmlcov/
|
|
| 24 |
.ruff_cache
|
| 25 |
assets
|
| 26 |
static
|
|
|
|
|
|
| 1 |
# Python-generated files
|
| 2 |
+
*__pycache__/
|
| 3 |
*.py[oc]
|
| 4 |
build/
|
| 5 |
dist/
|
|
|
|
| 24 |
.ruff_cache
|
| 25 |
assets
|
| 26 |
static
|
| 27 |
+
.gradio
|
README.md
CHANGED
|
@@ -57,6 +57,10 @@ Once executed the whole process is summarised and returned to the user.
|
|
| 57 |
Here is a link to the video demonstration [MCP Demo Shallow Research Code Assistant](https://www.loom.com/share/ea4584bc76c04adabefd6d39a4f8e279?sid=5d2408ff-03d1-421b-b956-9713ae390212)
|
| 58 |
---
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
## Key information
|
| 61 |
|
| 62 |
I've found that whilst using VS Code for the MCP interaction, its useful to type the main agent function name to ensure the right tool is picked.
|
|
|
|
| 57 |
Here is a link to the video demonstration [MCP Demo Shallow Research Code Assistant](https://www.loom.com/share/ea4584bc76c04adabefd6d39a4f8e279?sid=5d2408ff-03d1-421b-b956-9713ae390212)
|
| 58 |
---
|
| 59 |
|
| 60 |
+
---
|
| 61 |
+
<div style="position: relative; padding-bottom: 56.25%; height: 0;"><iframe src="https://www.loom.com/embed/ea4584bc76c04adabefd6d39a4f8e279?sid=12c1b246-5dcc-49ec-8ca0-1a45710f4e3e" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
## Key information
|
| 65 |
|
| 66 |
I've found that whilst using VS Code for the MCP interaction, its useful to type the main agent function name to ensure the right tool is picked.
|
app.py
CHANGED
|
@@ -2149,6 +2149,10 @@ CUSTOM_CSS = """
|
|
| 2149 |
}
|
| 2150 |
"""
|
| 2151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2152 |
|
| 2153 |
with gr.Blocks(title="Shallow Research Code Assistant Hub",
|
| 2154 |
theme=gr.themes.Ocean(),
|
|
@@ -2196,6 +2200,10 @@ with gr.Blocks(title="Shallow Research Code Assistant Hub",
|
|
| 2196 |
<h3>Agents And Flows:</h3>
|
| 2197 |
"""
|
| 2198 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2199 |
|
| 2200 |
with gr.Tab("Orchestrator Flow", scale=1):
|
| 2201 |
gr.Markdown("## AI Research & Code Assistant")
|
|
@@ -2396,7 +2404,7 @@ if __name__ == "__main__":
|
|
| 2396 |
exit(0)
|
| 2397 |
|
| 2398 |
signal.signal(signal.SIGINT, signal_handler)
|
| 2399 |
-
signal.signal(signal.SIGTERM, signal_handler)
|
| 2400 |
|
| 2401 |
try:
|
| 2402 |
hub.launch(
|
|
|
|
| 2149 |
}
|
| 2150 |
"""
|
| 2151 |
|
| 2152 |
+
# read the README.md file and convert it to a variable
|
| 2153 |
+
with open("README.md", encoding="utf-8") as f:
|
| 2154 |
+
readme_content = f.read()
|
| 2155 |
+
|
| 2156 |
|
| 2157 |
with gr.Blocks(title="Shallow Research Code Assistant Hub",
|
| 2158 |
theme=gr.themes.Ocean(),
|
|
|
|
| 2200 |
<h3>Agents And Flows:</h3>
|
| 2201 |
"""
|
| 2202 |
)
|
| 2203 |
+
with gr.Tab("README", scale=1):
|
| 2204 |
+
gr.Markdown(
|
| 2205 |
+
f"""{readme_content[393:]}
|
| 2206 |
+
""")
|
| 2207 |
|
| 2208 |
with gr.Tab("Orchestrator Flow", scale=1):
|
| 2209 |
gr.Markdown("## AI Research & Code Assistant")
|
|
|
|
| 2404 |
exit(0)
|
| 2405 |
|
| 2406 |
signal.signal(signal.SIGINT, signal_handler)
|
| 2407 |
+
signal.signal(signal.SIGTERM, signal_handler)
|
| 2408 |
|
| 2409 |
try:
|
| 2410 |
hub.launch(
|
mcp_hub/__pycache__/__init__.cpython-312.pyc
DELETED
|
Binary file (818 Bytes)
|
|
|
mcp_hub/__pycache__/cache_utils.cpython-312.pyc
DELETED
|
Binary file (11 kB)
|
|
|
mcp_hub/__pycache__/config.cpython-312.pyc
DELETED
|
Binary file (5.42 kB)
|
|
|
mcp_hub/__pycache__/exceptions.cpython-312.pyc
DELETED
|
Binary file (1.83 kB)
|
|
|
mcp_hub/__pycache__/health_monitoring.cpython-312.pyc
DELETED
|
Binary file (11.2 kB)
|
|
|
mcp_hub/__pycache__/logging_config.cpython-312.pyc
DELETED
|
Binary file (2.1 kB)
|
|
|
mcp_hub/__pycache__/package_utils.cpython-312.pyc
DELETED
|
Binary file (6.79 kB)
|
|
|
mcp_hub/__pycache__/performance_monitoring.cpython-312.pyc
DELETED
|
Binary file (13.3 kB)
|
|
|
mcp_hub/__pycache__/reliability_utils.cpython-312.pyc
DELETED
|
Binary file (11.6 kB)
|
|
|
mcp_hub/__pycache__/sandbox_pool.cpython-312.pyc
DELETED
|
Binary file (37.9 kB)
|
|
|
mcp_hub/__pycache__/utils.cpython-312.pyc
DELETED
|
Binary file (19.1 kB)
|
|
|