llama-stack-mirror/llama_stack/apis/inference
Ben Browning 92fdf6d0c9 Use our own pydantic models for OpenAI Server APIs
Importing the models from the OpenAI client library required a
top-level dependency on the openai python package, and also was
incompatible with our API generation code due to some quirks in how
the OpenAI pydantic models are defined.

So, this creates our own stubs of those pydantic models so that we're
in more direct control of our API surface for this OpenAI-compatible
API, so that it works with our code generation, and so that the openai
python client isn't a hard requirement of Llama Stack's API.
2025-04-09 15:47:02 -04:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
event_logger.py pre-commit lint 2024-09-28 16:04:41 -07:00
inference.py Use our own pydantic models for OpenAI Server APIs 2025-04-09 15:47:02 -04:00