This commit is contained in:
parent
334fbea381
commit
78445c2d1f
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ while True:
|
||||||
aimsg = aiconnector.send_message(CAImodel, new.chat_id, chatquery)
|
aimsg = aiconnector.send_message(CAImodel, new.chat_id, chatquery)
|
||||||
ai_storage[channel] = new.chat_id
|
ai_storage[channel] = new.chat_id
|
||||||
multiline(aimsg.text, channel)
|
multiline(aimsg.text, channel)
|
||||||
lastquery = f"<p>Channel: {channel}</p><p>Request:</p><br><br><textarea class=code width=100% spellcheck=\"false\" autocapitalize=\"off\" autocomplete=\"off\" autocorrect=\"off\" readonly=\"true\">{chatquery}</textarea><hr><p>Response</p><br><br><textarea class=code width=100% spellcheck=\"false\" autocapitalize=\"off\" autocomplete=\"off\" autocorrect=\"off\" readonly=\"true\">{aimsg.text}</textarea>"
|
lastquery = f"<p>Channel: {channel}</p><p>Request:</p><br><br>{chatquery}<hr><p>Response</p><br><br>{aimsg.text}"
|
||||||
except:
|
except:
|
||||||
multiline("Something went wrong while connecting to Character.AI.", channel)
|
multiline("Something went wrong while connecting to Character.AI.", channel)
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
|
|
Loading…
Reference in a new issue