fix(api): fix a mistake from #3636 which overwrote POST /responses

This commit is contained in:
Ashwin Bharambe 2025-10-02 13:03:17 -07:00 committed by Raghotham Murthy
parent 36543a1100
commit 0beb61b13b
10 changed files with 75 additions and 195 deletions

View file

@ -816,7 +816,7 @@ class Agents(Protocol):
"""
...
@webmethod(route="/openai/v1/responses", method="POST", level=LLAMA_STACK_API_V1, deprecated=True)
@webmethod(route="/openai/v1/responses", method="GET", level=LLAMA_STACK_API_V1, deprecated=True)
@webmethod(route="/responses", method="GET", level=LLAMA_STACK_API_V1)
async def list_openai_responses(
self,