调整发消息逻辑

This commit is contained in:
2025-09-11 20:32:08 +08:00
parent a3019ffee4
commit 2b3fb6871f
2 changed files with 33 additions and 24 deletions

View File

@@ -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")