diff options
author | Raju Komati <komatiraju032@gmail.com> | 2023-04-27 21:10:43 +0200 |
---|---|---|
committer | Raju Komati <komatiraju032@gmail.com> | 2023-04-27 21:10:43 +0200 |
commit | 920fe19608ba06ed8c2b4c9a23944af35cf24e56 (patch) | |
tree | af356603b7918af1ea5cdfe0c48830a599ee5903 /quora/api.py | |
parent | Update README.md (diff) | |
download | gpt4free-920fe19608ba06ed8c2b4c9a23944af35cf24e56.tar gpt4free-920fe19608ba06ed8c2b4c9a23944af35cf24e56.tar.gz gpt4free-920fe19608ba06ed8c2b4c9a23944af35cf24e56.tar.bz2 gpt4free-920fe19608ba06ed8c2b4c9a23944af35cf24e56.tar.lz gpt4free-920fe19608ba06ed8c2b4c9a23944af35cf24e56.tar.xz gpt4free-920fe19608ba06ed8c2b4c9a23944af35cf24e56.tar.zst gpt4free-920fe19608ba06ed8c2b4c9a23944af35cf24e56.zip |
Diffstat (limited to '')
-rw-r--r-- | openai_rev/quora/api.py (renamed from quora/api.py) | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/quora/api.py b/openai_rev/quora/api.py index 697f6663..42814f2c 100644 --- a/quora/api.py +++ b/openai_rev/quora/api.py @@ -384,7 +384,7 @@ class Client: continue # update info about response - message["text_new"] = message["text"][len(last_text):] + message["text_new"] = message["text"][len(last_text) :] last_text = message["text"] message_id = message["messageId"] @@ -456,21 +456,21 @@ class Client: logger.info(f"No more messages left to delete.") def create_bot( - self, - handle, - prompt="", - base_model="chinchilla", - description="", - intro_message="", - api_key=None, - api_bot=False, - api_url=None, - prompt_public=True, - pfp_url=None, - linkification=False, - markdown_rendering=True, - suggested_replies=False, - private=False, + self, + handle, + prompt="", + base_model="chinchilla", + description="", + intro_message="", + api_key=None, + api_bot=False, + api_url=None, + prompt_public=True, + pfp_url=None, + linkification=False, + markdown_rendering=True, + suggested_replies=False, + private=False, ): result = self.send_query( "PoeBotCreateMutation", @@ -499,21 +499,21 @@ class Client: return data def edit_bot( - self, - bot_id, - handle, - prompt="", - base_model="chinchilla", - description="", - intro_message="", - api_key=None, - api_url=None, - private=False, - prompt_public=True, - pfp_url=None, - linkification=False, - markdown_rendering=True, - suggested_replies=False, + self, + bot_id, + handle, + prompt="", + base_model="chinchilla", + description="", + intro_message="", + api_key=None, + api_url=None, + private=False, + prompt_public=True, + pfp_url=None, + linkification=False, + markdown_rendering=True, + suggested_replies=False, ): result = self.send_query( "PoeBotEditMutation", |