hyn.x.lei
hyn.x.lei
插件停更了,貌似。picgo的request 底层改了。
tested in ChatGPTUnofficialProxyAPI , I have found that after the first request at the start of the whole project, subsequent requests may be blocked, resulting in low availability.
@transitive-bullshit Thanks for your help. I solved this problem by setting a reasonable id that already exists in the chatgpt as parentMessageId, Currently I rely on conversion to organize data,...
不用docker,自己部署在服务器,在nginx中添加下面的参数 ``` nginx location /api { proxy_pass http://localhost:3002; proxy_buffering off; } ```
更新:PicGo底层上传库从 [request](https://github.com/request/request) 迁移至 [axios](https://github.com/axios/axios) ,理论上对旧有插件是兼容的,如果插件遇到不兼容的情况请开发者参考 PicGo-Core 的 https://github.com/PicGo/PicGo-Core/issues/65 进行适配 可以根据楼上的视频,下载老版本的 picgo2.3.0 即可。插件停更好像。
源码修改:fork github 上 picgo-plugin-compress 代码,clone 到本地后,修改两处即可。 - src\\util.ts,13行修改为: ``` typescript const response = await ctx.request({ method: 'GET', url, encoding: null, resolveWithFullResponse: true, responseType: 'arraybuffer' }) ``` - src\\compress\\tinypng\\tinypng.ts,86-93 行修改为: ```...
@boringhex-top 不好意思,忘记贴了,还有一个package.json 需要修改,更新 picgo-core的版本到1.5.0 "picgo": "1.5.0",
上面的错误我也看到了,不过已经编译出来js 文件,我就没管了。 ----- 执行 rpm run build,重新编译生成dist 文件夹中内容,关闭 PicGo,将生成的 dist 文件复制到 PicGo用户数据目录中的 node_modules\picgo-plugin-compress 覆盖即可。
更新:PicGo底层上传库从 [request](https://github.com/request/request) 迁移至 [axios](https://github.com/axios/axios) ,理论上对旧有插件是兼容的,如果插件遇到不兼容的情况请开发者参考 PicGo-Core 的 https://github.com/PicGo/PicGo-Core/issues/65 进行适配 可以根据楼上的视频,下载老版本的 picgo2.3.0 即可。插件停更好像。
参看这个修改: https://github.com/JuZiSang/picgo-plugin-compress/issues/64#issuecomment-1406645449