mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
feat(openai_movement)!: Change URL structures to kill /openai/v1
This commit is contained in:
parent
8dc9fd6844
commit
bcbe5f32a5
9 changed files with 35 additions and 35 deletions
|
@ -111,7 +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