ForcePilot/backend/package/yuxi/channel/extensions/yuanbao/shared.py

30 lines
892 B
Python
Raw Normal View History

META = {
"id": "yuanbao",
"name": "Yuanbao (元宝)",
"order": 85,
"label": "Yuanbao",
"aliases": ["yuanbao", "yb", "tencent-yuanbao", "元宝"],
}
def get_default_config():
return {
"mergeText": "merge-text",
"mergeTextMinChars": 2800,
"mergeTextMaxChars": 3000,
"mergeTextIdleMs": 5000,
"mergeTextOverflow": "split",
"disableBlockStreaming": False,
"blockStreamingCoalesceMinChars": 2800,
"blockStreamingCoalesceMaxChars": 3000,
"blockStreamingCoalesceIdleMs": 1000,
"replyToMode": "first",
"dmPolicy": "open",
"pairingTtlSeconds": 3600,
"sessionKeyTtlSeconds": 300,
"historyLimit": 100,
"groupMentionRequired": True,
"fallbackReply": "暂时无法解答,你可以换个问题问问我哦",
"markdownHintEnabled": True,
}