Skip to main content
When an SDK captures a model request over HTTP, the Sovara server works out which API format and provider it uses. The format decides how the request and response are shown and whether lessons can be inserted; the provider decides the label on the step and which API key Rerun uses.

API formats

Lessons are inserted as one temporary user message at the end of the conversation (before a trailing assistant prefill). System and developer instructions, tool calls and results, and reasoning fields the provider needs back are left untouched. Requests in other formats are still recorded, without lessons.

Providers and gateways

A captured request to any other host in a supported format also gets lessons; its provider is taken from the model name when possible. Streamed reasoning is reassembled into one field per message.

Configure gateways and self-hosted servers

Set SOVARA_HTTP_ENDPOINTS on the Sovara servers to a JSON list. The longest matching url_prefix applies:
These settings apply only to requests the SDKs capture, which are matched by path (for example /v1/chat/completions or /api/chat). A gateway path the SDKs don’t capture is not recorded.
Some vLLM chat templates require user and assistant messages to alternate and reject a request with two user messages in a row. If lessons cause such errors, set "lessons": false for that endpoint.