Expand description
Sidecar model adapter — POSTs to the Python model-seam sidecar.
Set JAMJET_MODEL_SEAM_URL (e.g. http://127.0.0.1:4280) to route
durable-path model calls through the governed Python seam (provider
allow-list, PII redaction, cost metering, middleware).
Sidecar contract:
POST /v1/complete—{model, messages, temperature?, max_tokens?}→{message:{content,role}, input_tokens, output_tokens, cost_usd, model, finish_reason}GET /health→{ok:true}
Structs§
- Sidecar
Model Adapter - Routes durable-path model calls to the Python model-seam sidecar via HTTP.
Functions§
- check_
sidecar_ health - Probe the sidecar
/healthendpoint at startup.