13
13
# python 2 and python 3 compatibility library
14
14
import six
15
15
16
- from taskingai .client .api_client import ApiClient
16
+ from taskingai .client .api_client import SyncApiClient
17
17
18
18
19
19
class AssistantApi (object ):
@@ -25,7 +25,7 @@ class AssistantApi(object):
25
25
26
26
def __init__ (self , api_client = None ):
27
27
if api_client is None :
28
- api_client = ApiClient ()
28
+ api_client = SyncApiClient ()
29
29
self .api_client = api_client
30
30
31
31
def create_assistant (self , body , ** kwargs ): # noqa: E501
@@ -121,7 +121,6 @@ def create_assistant_with_http_info(self, body, **kwargs): # noqa: E501
121
121
files = local_var_files ,
122
122
response_type = 'AssistantCreateResponse' , # noqa: E501
123
123
auth_settings = auth_settings ,
124
- async_req = params .get ('async_req' ),
125
124
_return_http_data_only = params .get ('_return_http_data_only' ),
126
125
_preload_content = params .get ('_preload_content' , True ),
127
126
_request_timeout = params .get ('_request_timeout' ),
@@ -228,7 +227,6 @@ def create_chat_with_http_info(self, body, assistant_id, **kwargs): # noqa: E50
228
227
files = local_var_files ,
229
228
response_type = 'ChatCreateResponse' , # noqa: E501
230
229
auth_settings = auth_settings ,
231
- async_req = params .get ('async_req' ),
232
230
_return_http_data_only = params .get ('_return_http_data_only' ),
233
231
_preload_content = params .get ('_preload_content' , True ),
234
232
_request_timeout = params .get ('_request_timeout' ),
@@ -344,7 +342,6 @@ def create_message_with_http_info(self, body, assistant_id, chat_id, **kwargs):
344
342
files = local_var_files ,
345
343
response_type = 'MessageCreateResponse' , # noqa: E501
346
344
auth_settings = auth_settings ,
347
- async_req = params .get ('async_req' ),
348
345
_return_http_data_only = params .get ('_return_http_data_only' ),
349
346
_preload_content = params .get ('_preload_content' , True ),
350
347
_request_timeout = params .get ('_request_timeout' ),
@@ -440,7 +437,6 @@ def delete_assistant_with_http_info(self, assistant_id, **kwargs): # noqa: E501
440
437
files = local_var_files ,
441
438
response_type = 'AssistantDeleteResponse' , # noqa: E501
442
439
auth_settings = auth_settings ,
443
- async_req = params .get ('async_req' ),
444
440
_return_http_data_only = params .get ('_return_http_data_only' ),
445
441
_preload_content = params .get ('_preload_content' , True ),
446
442
_request_timeout = params .get ('_request_timeout' ),
@@ -543,7 +539,6 @@ def delete_chat_with_http_info(self, assistant_id, chat_id, **kwargs): # noqa:
543
539
files = local_var_files ,
544
540
response_type = 'ChatDeleteResponse' , # noqa: E501
545
541
auth_settings = auth_settings ,
546
- async_req = params .get ('async_req' ),
547
542
_return_http_data_only = params .get ('_return_http_data_only' ),
548
543
_preload_content = params .get ('_preload_content' , True ),
549
544
_request_timeout = params .get ('_request_timeout' ),
@@ -661,7 +656,6 @@ def generate_assistant_message_with_http_info(self, body, assistant_id, chat_id,
661
656
files = local_var_files ,
662
657
response_type = 'object' , # noqa: E501
663
658
auth_settings = auth_settings ,
664
- async_req = params .get ('async_req' ),
665
659
_return_http_data_only = params .get ('_return_http_data_only' ),
666
660
_preload_content = params .get ('_preload_content' , True ),
667
661
_request_timeout = params .get ('_request_timeout' ),
@@ -756,7 +750,6 @@ def get_assistant_with_http_info(self, assistant_id, **kwargs): # noqa: E501
756
750
files = local_var_files ,
757
751
response_type = 'AssistantGetResponse' , # noqa: E501
758
752
auth_settings = auth_settings ,
759
- async_req = params .get ('async_req' ),
760
753
_return_http_data_only = params .get ('_return_http_data_only' ),
761
754
_preload_content = params .get ('_preload_content' , True ),
762
755
_request_timeout = params .get ('_request_timeout' ),
@@ -859,7 +852,6 @@ def get_chat_with_http_info(self, assistant_id, chat_id, **kwargs): # noqa: E50
859
852
files = local_var_files ,
860
853
response_type = 'ChatGetResponse' , # noqa: E501
861
854
auth_settings = auth_settings ,
862
- async_req = params .get ('async_req' ),
863
855
_return_http_data_only = params .get ('_return_http_data_only' ),
864
856
_preload_content = params .get ('_preload_content' , True ),
865
857
_request_timeout = params .get ('_request_timeout' ),
@@ -970,7 +962,6 @@ def get_message_with_http_info(self, assistant_id, chat_id, message_id, **kwargs
970
962
files = local_var_files ,
971
963
response_type = 'MessageGetResponse' , # noqa: E501
972
964
auth_settings = auth_settings ,
973
- async_req = params .get ('async_req' ),
974
965
_return_http_data_only = params .get ('_return_http_data_only' ),
975
966
_preload_content = params .get ('_preload_content' , True ),
976
967
_request_timeout = params .get ('_request_timeout' ),
@@ -1077,7 +1068,6 @@ def list_assistants_with_http_info(self, **kwargs): # noqa: E501
1077
1068
files = local_var_files ,
1078
1069
response_type = 'AssistantListResponse' , # noqa: E501
1079
1070
auth_settings = auth_settings ,
1080
- async_req = params .get ('async_req' ),
1081
1071
_return_http_data_only = params .get ('_return_http_data_only' ),
1082
1072
_preload_content = params .get ('_preload_content' , True ),
1083
1073
_request_timeout = params .get ('_request_timeout' ),
@@ -1188,7 +1178,6 @@ def list_chats_with_http_info(self, assistant_id, **kwargs): # noqa: E501
1188
1178
files = local_var_files ,
1189
1179
response_type = 'ChatListResponse' , # noqa: E501
1190
1180
auth_settings = auth_settings ,
1191
- async_req = params .get ('async_req' ),
1192
1181
_return_http_data_only = params .get ('_return_http_data_only' ),
1193
1182
_preload_content = params .get ('_preload_content' , True ),
1194
1183
_request_timeout = params .get ('_request_timeout' ),
@@ -1307,7 +1296,6 @@ def list_messages_with_http_info(self, assistant_id, chat_id, **kwargs): # noqa
1307
1296
files = local_var_files ,
1308
1297
response_type = 'MessageListResponse' , # noqa: E501
1309
1298
auth_settings = auth_settings ,
1310
- async_req = params .get ('async_req' ),
1311
1299
_return_http_data_only = params .get ('_return_http_data_only' ),
1312
1300
_preload_content = params .get ('_preload_content' , True ),
1313
1301
_request_timeout = params .get ('_request_timeout' ),
@@ -1415,7 +1403,6 @@ def update_assistant_with_http_info(self, body, assistant_id, **kwargs): # noqa
1415
1403
files = local_var_files ,
1416
1404
response_type = 'AssistantUpdateResponse' , # noqa: E501
1417
1405
auth_settings = auth_settings ,
1418
- async_req = params .get ('async_req' ),
1419
1406
_return_http_data_only = params .get ('_return_http_data_only' ),
1420
1407
_preload_content = params .get ('_preload_content' , True ),
1421
1408
_request_timeout = params .get ('_request_timeout' ),
@@ -1530,7 +1517,6 @@ def update_chat_with_http_info(self, body, assistant_id, chat_id, **kwargs): #
1530
1517
files = local_var_files ,
1531
1518
response_type = 'ChatUpdateResponse' , # noqa: E501
1532
1519
auth_settings = auth_settings ,
1533
- async_req = params .get ('async_req' ),
1534
1520
_return_http_data_only = params .get ('_return_http_data_only' ),
1535
1521
_preload_content = params .get ('_preload_content' , True ),
1536
1522
_request_timeout = params .get ('_request_timeout' ),
@@ -1654,7 +1640,6 @@ def update_message_with_http_info(self, body, assistant_id, chat_id, message_id,
1654
1640
files = local_var_files ,
1655
1641
response_type = 'MessageUpdateResponse' , # noqa: E501
1656
1642
auth_settings = auth_settings ,
1657
- async_req = params .get ('async_req' ),
1658
1643
_return_http_data_only = params .get ('_return_http_data_only' ),
1659
1644
_preload_content = params .get ('_preload_content' , True ),
1660
1645
_request_timeout = params .get ('_request_timeout' ),
0 commit comments