Skip to content

Commit a8ed9a7

Browse files
Render response when cancelling
1 parent 9173f3d commit a8ed9a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openai/resources/responses/responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ def cancel(
11461146
options=make_request_options(
11471147
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
11481148
),
1149-
cast_to=NoneType,
1149+
cast_to=Response,
11501150
)
11511151

11521152

0 commit comments

Comments
 (0)