Skip to content

Commit

Permalink
update the default conversation_id
Browse files Browse the repository at this point in the history
  • Loading branch information
JianqingPengSAP committed Feb 20, 2023
1 parent 2602c68 commit 9482960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xiaogpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def parse_cookie_string(cookie_string):


class MiGPT:
def __init__(self, hardware, conversation_id):
def __init__(self, hardware, conversation_id=""):
self.mi_token_home = Path.home() / ".mi.token"
self.hardware = hardware
self.cookie_string = ""
Expand Down Expand Up @@ -183,7 +183,7 @@ def run_forever(self):
"--conversation_id",
dest="conversation_id",
type=str,
default="c379851d-fbd4-479e-a716-dddc379fbxxx",
default="",
help="ChatGPT conversation_id",
)
options = parser.parse_args()
Expand Down

0 comments on commit 9482960

Please sign in to comment.