@@ -539,7 +539,7 @@ def delete_chat_with_http_info(self, assistant_id, chat_id, **kwargs): # noqa:
539539 _request_timeout = params .get ('_request_timeout' ),
540540 collection_formats = collection_formats )
541541
542- def generate_assistant_message (self , body , stream , assistant_id , chat_id , ** kwargs ): # noqa: E501
542+ def generate_message (self , body , stream , assistant_id , chat_id , ** kwargs ): # noqa: E501
543543 """Generate assistant message # noqa: E501
544544
545545 Generate a new message with the role of 'assistant'.
@@ -551,15 +551,15 @@ def generate_assistant_message(self, body, stream, assistant_id, chat_id, **kwar
551551 returns the request thread.
552552 """
553553 kwargs ['_return_http_data_only' ] = True
554- return self .generate_assistant_message_with_http_info (body , stream , assistant_id , chat_id , ** kwargs ) # noqa: E501
554+ return self .generate_message_with_http_info (body , stream , assistant_id , chat_id , ** kwargs ) # noqa: E501
555555
556- def generate_assistant_message_with_http_info (self , body , stream , assistant_id , chat_id , ** kwargs ): # noqa: E501
556+ def generate_message_with_http_info (self , body , stream , assistant_id , chat_id , ** kwargs ): # noqa: E501
557557 """Generate assistant message # noqa: E501
558558
559559 Generate a new message with the role of 'assistant'. # noqa: E501
560560 This method makes a synchronous HTTP request by default. To make an
561561 asynchronous HTTP request, please pass async_req=True
562- >>> thread = api.generate_assistant_message_with_http_info (body, assistant_id, chat_id, async_req=True)
562+ >>> thread = api.generate_message_with_http_info (body, assistant_id, chat_id, async_req=True)
563563 >>> result = thread.get()
564564
565565 :param async_req bool
@@ -582,25 +582,25 @@ def generate_assistant_message_with_http_info(self, body, stream, assistant_id,
582582 if key not in all_params :
583583 raise TypeError (
584584 "Got an unexpected keyword argument '%s'"
585- " to method generate_assistant_message " % key
585+ " to method generate_message " % key
586586 )
587587 params [key ] = val
588588 del params ['kwargs' ]
589589 # verify the required parameter 'body' is set
590590 if ('body' not in params or
591591 params ['body' ] is None ):
592592 raise ValueError (
593- "Missing the required parameter `body` when calling `generate_assistant_message `" ) # noqa: E501
593+ "Missing the required parameter `body` when calling `generate_message `" ) # noqa: E501
594594 # verify the required parameter 'assistant_id' is set
595595 if ('assistant_id' not in params or
596596 params ['assistant_id' ] is None ):
597597 raise ValueError (
598- "Missing the required parameter `assistant_id` when calling `generate_assistant_message `" ) # noqa: E501
598+ "Missing the required parameter `assistant_id` when calling `generate_message `" ) # noqa: E501
599599 # verify the required parameter 'chat_id' is set
600600 if ('chat_id' not in params or
601601 params ['chat_id' ] is None ):
602602 raise ValueError (
603- "Missing the required parameter `chat_id` when calling `generate_assistant_message `" ) # noqa: E501
603+ "Missing the required parameter `chat_id` when calling `generate_message `" ) # noqa: E501
604604
605605 collection_formats = {}
606606
0 commit comments