SAGE Edge aggregator shell - mounts LLM gateway under an optional prefix
Project description
SAGE Edge (L6 Aggregator)
Minimal FastAPI shell for mounting the LLM gateway with optional prefixing.
- Default behavior mounts the LLM gateway at
/, keeping/v1/*endpoints stable. - Optional
llm_prefix(env/CLI) mounts the gateway under a custom path while preserving/healthzand/readyzat the edge level. - Edge health endpoints live at
/healthzand/readyzregardless of mount path. - Uses
SagePorts.EDGE_DEFAULTas the default port and respects XDG user paths for logs/PID files.
Quickstart
# Start in foreground (mount gateway at /)
python -m sage.edge.server --port 8899
# Start with prefix
python -m sage.edge.server --port 8899 --llm-prefix /llm
Design Notes
- No backward-compat shims: imports should use
sage.llm.gatewaydirectly. - Uses
get_user_paths()for runtime state and logs (no~/.sageusage). - Intended as an opt-in shell; runtime behavior only changes when the edge server is started.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isage_edge-0.2.3-py3-none-any.whl.
File metadata
- Download URL: isage_edge-0.2.3-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd9d1a41b2fff64b00d5185c481b19e04de6d7828d2e32f1366bb87b6c99b58a
|
|
| MD5 |
bcb918d3e72a6466a93e7db65ef2c888
|
|
| BLAKE2b-256 |
6960ed63e6480810e1302269bd46aa3efcf41204c1f7304fcf040209d4d9d673
|