strix/strix
Szymon Nastaly 972f5097c2
Some checks failed
CI / python (push) Has been cancelled
CI / tui (push) Has been cancelled
CI / viewer (push) Has been cancelled
CI / package (push) Has been cancelled
CI / workflows (push) Has been cancelled
CI / ci-passed (push) Has been cancelled
feat(llm): extra request-body fields via LLM_EXTRA_BODY (#1495)
* 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>
2026-10-15 16:37:51 -04:00
..
agents fix(models): replay malformed tool-call arguments as valid JSON (#1327) 2026-10-14 18:17:20 -04:00
config feat(llm): extra request-body fields via LLM_EXTRA_BODY (#1495) 2026-10-15 16:37:51 -04:00
core feat(llm): extra request-body fields via LLM_EXTRA_BODY (#1495) 2026-10-15 16:37:51 -04:00
interface feat(llm): extra request-body fields via LLM_EXTRA_BODY (#1495) 2026-10-15 16:37:51 -04:00
llm feat(llm): extra request-body fields via LLM_EXTRA_BODY (#1495) 2026-10-15 16:37:51 -04:00
report feat(llm): extra request-body fields via LLM_EXTRA_BODY (#1495) 2026-10-15 16:37:51 -04:00
runtime feat(runtime): accept an awaitable extra_files in create_or_reuse so the sandbox create does not wait for it 2026-10-14 03:32:29 +03:00
skills feat(reporting): accept code_locations on dependency reports (#1366) 2026-10-12 08:54:36 -07:00
telemetry fix(logging): suppress Agents SDK PTY warning that interferes with TUI (#1392) 2026-10-07 11:32:42 -07:00
tools fix(reporting): drop the static-analysis disclaimer from dependency evidence (#1520) 2026-10-14 10:59:11 -04:00
utils feat(cli): strix cloud — managed platform CLI (login, scans, billing, and the rest of the API) (#1177) 2026-09-01 14:39:34 -04:00
__init__.py Open-source release for Alpha version 2025-08-08 20:36:44 -07:00