Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /ctrl-gaurav_effGen /effgen /dashboard /__init__.py
| """effGen local web dashboard. | |
| Served at ``/dashboard`` by the API server. Provides real-time panels: | |
| - Live span stream (SSE endpoint ``/dashboard/spans``) | |
| - Prometheus metrics summary | |
| - Recent agent runs with token counts and cost | |
| - SLO burn-rate indicators | |
| The dashboard is a single-page application (HTML + JS + CSS) served from | |
| ``effgen/dashboard/static/``. No build step is required, and every asset is | |
| served locally — the page renders with no external network dependency (the | |
| latency chart is drawn on a canvas, not loaded from a CDN). | |
| Usage | |
| ----- | |
| Start the effGen server with dev mode enabled:: | |
| EFFGEN_DEV_MODE=1 uvicorn effgen.server.app:create_app --factory --port 8080 | |
| Then open ``http://localhost:8080/dashboard`` in a browser. | |
| """ | |
| from __future__ import annotations | |
| from pathlib import Path | |
| STATIC_DIR: Path = Path(__file__).parent / "static" | |
Xet Storage Details
- Size:
- 872 Bytes
- Xet hash:
- 6333b96706c1be54eeeb95b6d0bcabe54cca45fa8993f9c0be69b6793a8979a8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.