mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 21:57:14 +08:00
fix: client resource usage bug
This commit is contained in:
@@ -92,7 +92,7 @@ class LinkAIBot(Bot):
|
|||||||
"frequency_penalty": conf().get("frequency_penalty", 0.0), # [-2,2]之间,该值越大则更倾向于产生不同的内容
|
"frequency_penalty": conf().get("frequency_penalty", 0.0), # [-2,2]之间,该值越大则更倾向于产生不同的内容
|
||||||
"presence_penalty": conf().get("presence_penalty", 0.0), # [-2,2]之间,该值越大则更倾向于产生不同的内容
|
"presence_penalty": conf().get("presence_penalty", 0.0), # [-2,2]之间,该值越大则更倾向于产生不同的内容
|
||||||
"session_id": session_id,
|
"session_id": session_id,
|
||||||
"channel_type": conf().get("channel_type")
|
"channel_type": conf().get("channel_type", "wx")
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
from linkai import LinkAIClient
|
from linkai import LinkAIClient
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ broadscope_bailian
|
|||||||
google-generativeai
|
google-generativeai
|
||||||
|
|
||||||
# linkai
|
# linkai
|
||||||
linkai
|
linkai>=0.0.3.5
|
||||||
|
|
||||||
# dingtalk
|
# dingtalk
|
||||||
dingtalk_stream
|
dingtalk_stream
|
||||||
|
|||||||
Reference in New Issue
Block a user