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
parent 0e13512dd7
commit 6afa96b0b9
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,