fix: signature change to match OpenAI SDK (#2237)

This commit is contained in:
Ashwin Bharambe 2025-05-23 10:59:30 -07:00 committed by GitHub
parent b054023800
commit 558d109ab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 11 deletions

View file

@ -579,14 +579,14 @@ class Agents(Protocol):
#
# Both of these APIs are inherently stateful.
@webmethod(route="/openai/v1/responses/{id}", method="GET")
@webmethod(route="/openai/v1/responses/{response_id}", method="GET")
async def get_openai_response(
self,
id: str,
response_id: str,
) -> OpenAIResponseObject:
"""Retrieve an OpenAI response by its ID.
:param id: The ID of the OpenAI response to retrieve.
:param response_id: The ID of the OpenAI response to retrieve.
:returns: An OpenAIResponseObject.
"""
...