调整发消息逻辑
This commit is contained in:
@@ -50,6 +50,12 @@ class Requester():
|
||||
guildName = aiConfig.get("guildName")
|
||||
contactTool = aiConfig.get("contactTool", "")
|
||||
contact = aiConfig.get("contact", "")
|
||||
|
||||
param["agentName"] = agentName
|
||||
param["guildName"] = guildName
|
||||
param["contactTool"] = contactTool
|
||||
param["contact"] = contact
|
||||
|
||||
try:
|
||||
url = "https://ai.yolozs.com/chat"
|
||||
result = requests.request(url=url, json=param, method="POST")
|
||||
|
||||
Reference in New Issue
Block a user