mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
OpenAIMixin expects to use an API key and creates its own AsyncOpenAI client. So our code now authenticate with the Google service, retrieves a token and pass it to the OpenAI client. Falls back to an empty string if credentials can't be obtained (letting LiteLLM handle ADC directly). Signed-off-by: Sébastien Han <seb@redhat.com> |
||
---|---|---|
.. | ||
agents | ||
datasetio | ||
eval | ||
files/s3 | ||
inference | ||
post_training | ||
safety | ||
tool_runtime | ||
vector_io | ||
__init__.py |