|
28 | 28 | async_to_raw_response_wrapper, |
29 | 29 | async_to_streamed_response_wrapper, |
30 | 30 | ) |
31 | | -from ...types.chat import Chat |
32 | 31 | from ..._base_client import make_request_options |
33 | 32 | from ...types.chat_out import ChatOut |
34 | 33 | from ...types.chat_list_response import ChatListResponse |
@@ -74,7 +73,7 @@ def create( |
74 | 73 | extra_query: Query | None = None, |
75 | 74 | extra_body: Body | None = None, |
76 | 75 | timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, |
77 | | - ) -> Chat: |
| 76 | + ) -> ChatOut: |
78 | 77 | """ |
79 | 78 | 创建对话 |
80 | 79 |
|
@@ -114,7 +113,7 @@ def create( |
114 | 113 | options=make_request_options( |
115 | 114 | extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout |
116 | 115 | ), |
117 | | - cast_to=Chat, |
| 116 | + cast_to=ChatOut, |
118 | 117 | ) |
119 | 118 |
|
120 | 119 | def retrieve( |
@@ -269,7 +268,7 @@ async def create( |
269 | 268 | extra_query: Query | None = None, |
270 | 269 | extra_body: Body | None = None, |
271 | 270 | timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, |
272 | | - ) -> Chat: |
| 271 | + ) -> ChatOut: |
273 | 272 | """ |
274 | 273 | 创建对话 |
275 | 274 |
|
@@ -309,7 +308,7 @@ async def create( |
309 | 308 | options=make_request_options( |
310 | 309 | extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout |
311 | 310 | ), |
312 | | - cast_to=Chat, |
| 311 | + cast_to=ChatOut, |
313 | 312 | ) |
314 | 313 |
|
315 | 314 | async def retrieve( |
|
0 commit comments