Cormac

Results 3 issues of Cormac

希望在UI页面加入批量导入词库,限制发送频率功能 另外提供一种手动批量导入词库方式(3.0.1版本) 默认的词库目录在C:\Users\用户名称\AppData\Local\ZuAnBot 可使用下面脚本将txt文件中的词条(一行一条)批量导入到json ``` import json # 文件路径 json_file_path = "wordsLibrary.json" custom_txt_path = "Custom.txt" def load_json(file_path): try: with open(file_path, 'r', encoding='utf-8') as f: return json.load(f) except FileNotFoundError: print(f"文件 {file_path}...

希望云端模型可以使用第三方key,可以填base url(第三方接口地址)和api,谢谢。 I hope cloud models can use third-party keys, with options to enter the base URL (third-party interface address) and API. Thanks.

**描述遇到的问题** 1.问题表现 用ip+端口访问网站能正常访问并加载js、css等,但使用CDN域名访问会出现js加载错误。 关闭js的缓存后恢复正常。 2.相关日志和信息 控制台信息 ``` (索引):34 [Intervention]Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113 webpack-8b373423e8603d92.js:1 Uncaught SyntaxError: Unexpected token '