mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 06:50:03 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||