strix/strix
0xallam b14ce69c3b fix(llm): thread LLM_API_KEY into the SDK's native OpenAIProvider
``MultiProvider`` was constructed with no openai kwargs, so the inner
``OpenAIProvider`` defaulted to reading ``OPENAI_API_KEY`` from the
environment. Strix's contract is that ``LLM_API_KEY`` works for every
provider, so users with ``STRIX_LLM=openai/<model>`` + ``LLM_API_KEY``
hit ``openai.OpenAIError`` at the first turn — the warm-up call worked
because that path goes through ``litellm.completion`` directly with
explicit creds, but the actual scan went through the SDK's MultiProvider
where the key was never plumbed.

Pass ``Settings.llm.api_key`` and ``Settings.llm.api_base`` through to
the underlying ``OpenAIProvider`` via the ``openai_api_key`` /
``openai_base_url`` ctor kwargs. ``openai_use_responses`` flips to
``False`` when ``LLM_API_BASE`` is set — non-default base URLs are the
reliable signal that the user is on an OpenAI-compatible endpoint
that doesn't speak the Responses API. Genuine OpenAI usage keeps the
Responses API as the default transport.

The ``anthropic/`` prefix continues to route through
``AnthropicCachingLitellmModel`` for prompt caching; ``litellm/`` and
other prefixes still fall through to the SDK's stock routing.
2026-04-26 07:26:48 -07:00
..
agents refactor(notes): drop disk persistence + shared-wiki prose 2026-04-25 23:56:22 -07:00
config chore(image): bump sandbox tag 0.1.13 → 0.2.0 2026-04-26 01:19:56 -07:00
interface fix(persistence): close all 9 gaps from the resume audit 2026-04-26 00:57:52 -07:00
llm fix(llm): thread LLM_API_KEY into the SDK's native OpenAIProvider 2026-04-26 07:26:48 -07:00
orchestration chore(image): bump sandbox tag 0.1.13 → 0.2.0 2026-04-26 01:19:56 -07:00
runtime fix(runtime): preserve image ENTRYPOINT so caido-cli actually starts 2026-04-26 07:26:13 -07:00
skills refactor(notes): drop disk persistence + shared-wiki prose 2026-04-25 23:56:22 -07:00
telemetry fix(persistence): close all 9 gaps from the resume audit 2026-04-26 00:57:52 -07:00
tools fix(persistence): snapshot resume-instruction + persist notes to disk 2026-04-26 01:09:56 -07:00
utils fix(agent): fix tool schemas not retrieved on pyinstaller binary and validate tool call args 2026-01-14 10:57:32 -08:00
__init__.py Open-source release for Alpha version 2025-08-08 20:36:44 -07:00