mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
add back /v1/openai/v1 temporarily while we update client packages properly
This commit is contained in:
parent
1372f2f24a
commit
90bccbc38e
9 changed files with 2777 additions and 0 deletions
|
@ -111,6 +111,7 @@ class Models(Protocol):
|
|||
"""
|
||||
...
|
||||
|
||||
@webmethod(route="/openai/v1/models", method="GET", level=LLAMA_STACK_API_V1)
|
||||
@webmethod(route="/models", method="GET", level=LLAMA_STACK_API_V1)
|
||||
async def openai_list_models(self) -> OpenAIListModelsResponse:
|
||||
"""List models using the OpenAI API.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue