mirror of
https://github.com/usestrix/strix.git
synced 2026-10-25 05:54:10 +00:00
* feat(llm): extra request-body fields via LLM_EXTRA_BODY Some provider parameters, such as OpenAI's service_tier and safety_identifier, are read only from the request body, so LLM_EXTRA_HEADERS can't set them. LLM_EXTRA_BODY merges a JSON object into the body of every request to the configured model, on both routing paths. A dedicated dedupe model gets its own DEDUPE_LLM_EXTRA_BODY instead, as with headers. * fix(config): decode saved JSON-object settings when loading persist_current() saves env values verbatim, so LLM_EXTRA_HEADERS, LLM_EXTRA_BODY and their DEDUPE_ variants land in cli-config.json as JSON text. The loader passed that text unchanged to the dict fields, so a later launch without the env var failed validation. Decode saved strings for dict fields, as pydantic-settings does for env vars. --------- Co-authored-by: Szymon Nastaly <szymon.nastaly@autoform.ch> |
||
|---|---|---|
| .. | ||
| configuration.mdx | ||
| skills.mdx | ||