Commit e18a42fb authored by JinyuanSun's avatar JinyuanSun
Browse files

use chatmol's chatbot as the default

parent ec800513
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -93,7 +93,11 @@ def chat_with_gpt(message):
        print(f"Error: {e}")
        return ""

def start_chatgpt_cmd(message, execute:bool=True):
def start_chatgpt_cmd(message, execute:bool=True, lite:bool=True):
    if lite == True:
        from chatmol_lit import chatlit
        chatlit(message)
        return 0
    global stashed_commands
    global conversation_history