Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,52 +1,29 @@
|
|
| 1 |
-
# π€ Eroha AgentAPI v5.9 β Enterprise Edition
|
| 2 |
-
|
| 3 |
-
Production-grade AI Gateway with:
|
| 4 |
-
- Auto Token Recovery
|
| 5 |
-
- Smart Fallback 2.0
|
| 6 |
-
- Circuit Breaker
|
| 7 |
-
- Prometheus Metrics
|
| 8 |
-
- Self-Healing Router
|
| 9 |
-
- Offline Caching (via Docker)
|
| 10 |
-
|
| 11 |
---
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
- app.py
|
| 20 |
-
- requirements.txt
|
| 21 |
-
- Dockerfile
|
| 22 |
-
3. Select SDK: **Docker**
|
| 23 |
-
4. Runtime: **Always On**
|
| 24 |
-
|
| 25 |
---
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
---
|
| 38 |
|
| 39 |
-
##
|
| 40 |
-
When router is down:
|
| 41 |
-
- fallback model `sshleifer/tiny-gpt2` will be used
|
| 42 |
-
- circuit breaker prevents overload
|
| 43 |
-
- watchdog reloads token every 3 minutes
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
## π‘οΈ Enterprise Stability
|
| 48 |
-
- Auto memory management
|
| 49 |
-
- Background health loop
|
| 50 |
-
- Self-healing async routines
|
| 51 |
-
- Secure token reload
|
| 52 |
-
- Optimized Docker image (Python 3.10-slim)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: π€ Eroha AgentAPI v5.9 β Enterprise Edition
|
| 3 |
+
emoji: π§
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
app_file: app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# π€ Eroha AgentAPI v5.9 β Enterprise Edition
|
| 12 |
|
| 13 |
+
Production-grade AI Gateway with:
|
| 14 |
+
|
| 15 |
+
- Auto Token Recovery
|
| 16 |
+
- Smart Fallback 2.0
|
| 17 |
+
- Circuit Breaker
|
| 18 |
+
- Prometheus Metrics
|
| 19 |
+
- Self-Healing Router
|
| 20 |
+
- Offline Caching (via Docker)
|
| 21 |
|
| 22 |
---
|
| 23 |
|
| 24 |
+
## π Deploy on Hugging Face Spaces
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
1. Add secret:
|
| 27 |
+
```bash
|
| 28 |
+
HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|