1313# python 2 and python 3 compatibility library
1414import six
1515
16- from taskingai .client .api_client import ApiClient
16+ from taskingai .client .api_client import SyncApiClient
1717
1818
1919class AssistantApi (object ):
@@ -25,7 +25,7 @@ class AssistantApi(object):
2525
2626 def __init__ (self , api_client = None ):
2727 if api_client is None :
28- api_client = ApiClient ()
28+ api_client = SyncApiClient ()
2929 self .api_client = api_client
3030
3131 def create_assistant (self , body , ** kwargs ): # noqa: E501
@@ -121,7 +121,6 @@ def create_assistant_with_http_info(self, body, **kwargs): # noqa: E501
121121 files = local_var_files ,
122122 response_type = 'AssistantCreateResponse' , # noqa: E501
123123 auth_settings = auth_settings ,
124- async_req = params .get ('async_req' ),
125124 _return_http_data_only = params .get ('_return_http_data_only' ),
126125 _preload_content = params .get ('_preload_content' , True ),
127126 _request_timeout = params .get ('_request_timeout' ),
@@ -228,7 +227,6 @@ def create_chat_with_http_info(self, body, assistant_id, **kwargs): # noqa: E50
228227 files = local_var_files ,
229228 response_type = 'ChatCreateResponse' , # noqa: E501
230229 auth_settings = auth_settings ,
231- async_req = params .get ('async_req' ),
232230 _return_http_data_only = params .get ('_return_http_data_only' ),
233231 _preload_content = params .get ('_preload_content' , True ),
234232 _request_timeout = params .get ('_request_timeout' ),
@@ -344,7 +342,6 @@ def create_message_with_http_info(self, body, assistant_id, chat_id, **kwargs):
344342 files = local_var_files ,
345343 response_type = 'MessageCreateResponse' , # noqa: E501
346344 auth_settings = auth_settings ,
347- async_req = params .get ('async_req' ),
348345 _return_http_data_only = params .get ('_return_http_data_only' ),
349346 _preload_content = params .get ('_preload_content' , True ),
350347 _request_timeout = params .get ('_request_timeout' ),
@@ -440,7 +437,6 @@ def delete_assistant_with_http_info(self, assistant_id, **kwargs): # noqa: E501
440437 files = local_var_files ,
441438 response_type = 'AssistantDeleteResponse' , # noqa: E501
442439 auth_settings = auth_settings ,
443- async_req = params .get ('async_req' ),
444440 _return_http_data_only = params .get ('_return_http_data_only' ),
445441 _preload_content = params .get ('_preload_content' , True ),
446442 _request_timeout = params .get ('_request_timeout' ),
@@ -543,7 +539,6 @@ def delete_chat_with_http_info(self, assistant_id, chat_id, **kwargs): # noqa:
543539 files = local_var_files ,
544540 response_type = 'ChatDeleteResponse' , # noqa: E501
545541 auth_settings = auth_settings ,
546- async_req = params .get ('async_req' ),
547542 _return_http_data_only = params .get ('_return_http_data_only' ),
548543 _preload_content = params .get ('_preload_content' , True ),
549544 _request_timeout = params .get ('_request_timeout' ),
@@ -661,7 +656,6 @@ def generate_assistant_message_with_http_info(self, body, assistant_id, chat_id,
661656 files = local_var_files ,
662657 response_type = 'object' , # noqa: E501
663658 auth_settings = auth_settings ,
664- async_req = params .get ('async_req' ),
665659 _return_http_data_only = params .get ('_return_http_data_only' ),
666660 _preload_content = params .get ('_preload_content' , True ),
667661 _request_timeout = params .get ('_request_timeout' ),
@@ -756,7 +750,6 @@ def get_assistant_with_http_info(self, assistant_id, **kwargs): # noqa: E501
756750 files = local_var_files ,
757751 response_type = 'AssistantGetResponse' , # noqa: E501
758752 auth_settings = auth_settings ,
759- async_req = params .get ('async_req' ),
760753 _return_http_data_only = params .get ('_return_http_data_only' ),
761754 _preload_content = params .get ('_preload_content' , True ),
762755 _request_timeout = params .get ('_request_timeout' ),
@@ -859,7 +852,6 @@ def get_chat_with_http_info(self, assistant_id, chat_id, **kwargs): # noqa: E50
859852 files = local_var_files ,
860853 response_type = 'ChatGetResponse' , # noqa: E501
861854 auth_settings = auth_settings ,
862- async_req = params .get ('async_req' ),
863855 _return_http_data_only = params .get ('_return_http_data_only' ),
864856 _preload_content = params .get ('_preload_content' , True ),
865857 _request_timeout = params .get ('_request_timeout' ),
@@ -970,7 +962,6 @@ def get_message_with_http_info(self, assistant_id, chat_id, message_id, **kwargs
970962 files = local_var_files ,
971963 response_type = 'MessageGetResponse' , # noqa: E501
972964 auth_settings = auth_settings ,
973- async_req = params .get ('async_req' ),
974965 _return_http_data_only = params .get ('_return_http_data_only' ),
975966 _preload_content = params .get ('_preload_content' , True ),
976967 _request_timeout = params .get ('_request_timeout' ),
@@ -1077,7 +1068,6 @@ def list_assistants_with_http_info(self, **kwargs): # noqa: E501
10771068 files = local_var_files ,
10781069 response_type = 'AssistantListResponse' , # noqa: E501
10791070 auth_settings = auth_settings ,
1080- async_req = params .get ('async_req' ),
10811071 _return_http_data_only = params .get ('_return_http_data_only' ),
10821072 _preload_content = params .get ('_preload_content' , True ),
10831073 _request_timeout = params .get ('_request_timeout' ),
@@ -1188,7 +1178,6 @@ def list_chats_with_http_info(self, assistant_id, **kwargs): # noqa: E501
11881178 files = local_var_files ,
11891179 response_type = 'ChatListResponse' , # noqa: E501
11901180 auth_settings = auth_settings ,
1191- async_req = params .get ('async_req' ),
11921181 _return_http_data_only = params .get ('_return_http_data_only' ),
11931182 _preload_content = params .get ('_preload_content' , True ),
11941183 _request_timeout = params .get ('_request_timeout' ),
@@ -1307,7 +1296,6 @@ def list_messages_with_http_info(self, assistant_id, chat_id, **kwargs): # noqa
13071296 files = local_var_files ,
13081297 response_type = 'MessageListResponse' , # noqa: E501
13091298 auth_settings = auth_settings ,
1310- async_req = params .get ('async_req' ),
13111299 _return_http_data_only = params .get ('_return_http_data_only' ),
13121300 _preload_content = params .get ('_preload_content' , True ),
13131301 _request_timeout = params .get ('_request_timeout' ),
@@ -1415,7 +1403,6 @@ def update_assistant_with_http_info(self, body, assistant_id, **kwargs): # noqa
14151403 files = local_var_files ,
14161404 response_type = 'AssistantUpdateResponse' , # noqa: E501
14171405 auth_settings = auth_settings ,
1418- async_req = params .get ('async_req' ),
14191406 _return_http_data_only = params .get ('_return_http_data_only' ),
14201407 _preload_content = params .get ('_preload_content' , True ),
14211408 _request_timeout = params .get ('_request_timeout' ),
@@ -1530,7 +1517,6 @@ def update_chat_with_http_info(self, body, assistant_id, chat_id, **kwargs): #
15301517 files = local_var_files ,
15311518 response_type = 'ChatUpdateResponse' , # noqa: E501
15321519 auth_settings = auth_settings ,
1533- async_req = params .get ('async_req' ),
15341520 _return_http_data_only = params .get ('_return_http_data_only' ),
15351521 _preload_content = params .get ('_preload_content' , True ),
15361522 _request_timeout = params .get ('_request_timeout' ),
@@ -1654,7 +1640,6 @@ def update_message_with_http_info(self, body, assistant_id, chat_id, message_id,
16541640 files = local_var_files ,
16551641 response_type = 'MessageUpdateResponse' , # noqa: E501
16561642 auth_settings = auth_settings ,
1657- async_req = params .get ('async_req' ),
16581643 _return_http_data_only = params .get ('_return_http_data_only' ),
16591644 _preload_content = params .get ('_preload_content' , True ),
16601645 _request_timeout = params .get ('_request_timeout' ),
0 commit comments