llama-stack-mirror/llama_stack/providers/utils/inference
Matthew Farrellee 4dbe0593f9
chore: add provider-data-api-key support to openaimixin (#3639)
# What does this PR do?

the LiteLLMOpenAIMixin provides support for reading key from provider
data (headers users send).

this adds the same functionality to the OpenAIMixin.

this is infrastructure for migrating providers.


## Test Plan

ci w/ new tests
2025-10-01 13:44:59 -07:00
..
__init__.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
embedding_mixin.py chore(api): remove deprecated embeddings impls (#3301) 2025-09-29 14:45:09 -04:00
inference_store.py chore: simplify authorized sqlstore (#3496) 2025-09-19 16:13:56 -07:00
litellm_openai_mixin.py chore: add provider-data-api-key support to openaimixin (#3639) 2025-10-01 13:44:59 -07:00
model_registry.py chore: add provider-data-api-key support to openaimixin (#3639) 2025-10-01 13:44:59 -07:00
openai_compat.py chore: remove /v1/inference/completion and implementations (#3622) 2025-10-01 11:36:53 -04:00
openai_mixin.py chore: add provider-data-api-key support to openaimixin (#3639) 2025-10-01 13:44:59 -07:00
prompt_adapter.py chore: remove /v1/inference/completion and implementations (#3622) 2025-10-01 11:36:53 -04:00