Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,3 +10,19 @@ pinned: false
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
+
|
| 14 |
+
# 🧭 GLM 4.5 Multi-Agent Control Panel (FastAPI + Gradio)
|
| 15 |
+
|
| 16 |
+
This Space exposes:
|
| 17 |
+
- **FastAPI** endpoints at `/api/agent1..4` and `/api/run_all`
|
| 18 |
+
- A **Gradio UI** at `/` to message one agent or all agents at once
|
| 19 |
+
- Both run inside the same process (no port conflicts), with files kept separate for testability.
|
| 20 |
+
|
| 21 |
+
## Structure
|
| 22 |
+
- `api.py` — FastAPI app, endpoints, and the agent logic (GLM 4.5 call stub).
|
| 23 |
+
- `main.py` — Gradio UI (no server launch).
|
| 24 |
+
- `app.py` — Mounts Gradio onto the FastAPI app; Space entrypoint.
|
| 25 |
+
- `requirements.txt`, `huggingface.yml` — Space config.
|
| 26 |
+
|
| 27 |
+
## Environment
|
| 28 |
+
Optionally set your GLM API key:
|