forked from lux-QAQ/Manyana
新增对话模型,讯飞星火lite
This commit is contained in:
parent
3e0179c9e1
commit
a53f6d4507
|
@ -119,6 +119,8 @@ async def modelReply(senderName, senderId, text, modelHere=modelDefault, trustUs
|
||||||
checkIfRepFirstTime=False):
|
checkIfRepFirstTime=False):
|
||||||
global chatGLMData
|
global chatGLMData
|
||||||
logger.info(modelHere)
|
logger.info(modelHere)
|
||||||
|
if senderName==None:
|
||||||
|
senderName="指挥"
|
||||||
try:
|
try:
|
||||||
if type(allcharacters.get(modelHere)) == dict:
|
if type(allcharacters.get(modelHere)) == dict:
|
||||||
with open('config/settings.yaml', 'r', encoding='utf-8') as f:
|
with open('config/settings.yaml', 'r', encoding='utf-8') as f:
|
||||||
|
|
Loading…
Reference in New Issue