Pārlūkot izejas kodu

fix: client resource usage bug

master
zhayujie pirms 9 mēnešiem
vecāks
revīzija
74ebbdd761
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      bot/linkai/link_ai_bot.py
  2. +1
    -1
      requirements-optional.txt

+ 1
- 1
bot/linkai/link_ai_bot.py Parādīt failu

@@ -92,7 +92,7 @@ class LinkAIBot(Bot):
"frequency_penalty": conf().get("frequency_penalty", 0.0), # [-2,2]之间,该值越大则更倾向于产生不同的内容
"presence_penalty": conf().get("presence_penalty", 0.0), # [-2,2]之间,该值越大则更倾向于产生不同的内容
"session_id": session_id,
"channel_type": conf().get("channel_type")
"channel_type": conf().get("channel_type", "wx")
}
try:
from linkai import LinkAIClient


+ 1
- 1
requirements-optional.txt Parādīt failu

@@ -33,7 +33,7 @@ broadscope_bailian
google-generativeai

# linkai
linkai
linkai>=0.0.3.5

# dingtalk
dingtalk_stream


Notiek ielāde…
Atcelt
Saglabāt