monbed

Results comments of monbed

目前我使用的方案是Pot:https://github.com/pot-app/pot-desktop 然后用外部调用功能。 GET "/ocr_recognize?screenshot=false" => 截图OCR(不使用软件内截图), GET "/ocr_translate?screenshot=false" => 截图翻译(不使用软件内截图),

测试正常,是否配置了语音合成服务。

3793abbd48a6e5803224632fece58c08134df47b

大概是旧版powershell调用中文乱码,用JS试试 ``` function process(data) { data.selection && fetch("http://127.0.0.1:50020/tts_silence", { method: "POST", body: data.selection, headers: { "Content-Type": "text/plain; charset=utf-8" } }); } ```

https://github.com/STranslate/STranslate/issues/787

> 1. 出于一致性,建议将单独存储的配置文件移动到 _conf_schema 中和其他配置一起存储: > > ![Image](https://github.com/user-attachments/assets/9e24e42e-f1b2-4a52-b9c0-a23f515c14c1) > > ![Image](https://github.com/user-attachments/assets/baa95cbf-63f6-4c79-9de1-a44c8421568c) > > 2. 为了规范插件数据存储路径,建议使用统一的数据存储接口,可以使用下面的函数获得数据存储路径: > > ![Image](https://github.com/user-attachments/assets/8ff46fc7-8689-44b8-8fae-b2d25bccae32) > > 你可以from astrbot.api.star import StarTools导入这个模块,使用StarTools.get_data_dir("你的插件名")来获得数据存储的路径 > > 3. 另外,并不单独需要引入aiohttp依赖(astrbot本体环境中已经存在这个依赖),可以删除requirements.txt文件 已修改。

这个插件出现同样问题:https://github.com/nichinichisou0609/astrbot_plugin_gemini_artist

当插件包含描述“[]”时,元数据信息就会加载错误。

> 嗷嗷我现在测试用的2.0版本完全重写了底层的HttpService上层业务逻辑都是一样的所以我在2.0测试没有问题 > > > 1.x 准备归档了,先不动了 > > 好的,期待新版。