Tangdy
Tangdy
更新:  看了英文文档,是需要显式的声明权限的。 [declare_permissions](https://developer.chrome.com/extensions/declare_permissions) ------- ``` "permissions": [ "notifications" ] ``` 需要加入 notifications 权限,否则无法调用。报错如下。 ----  --- 加入权限后,正常调用。  看了文档貌似没有明确说必须赋权,[声明权限](https://crxdoc-zh.appspot.com/apps/declare_permissions)
代理的写法和 [chatgpt-api#419](https://github.com/transitive-bullshit/chatgpt-api/issues/419#issuecomment-1452108845) 保持一致。并且解决了偶现的代理失败问题。 #478
docker 镜像运行 ``` FetchError: request to https://api.openai.com/v1/chat/completions failed, reason: getaddrinfo EAI_AGAIN http://127.0.0.1 at ClientRequest. (/app/node_modules/.pnpm/[email protected]/node_modules/node-fetch/src/index.js:108:11) at ClientRequest.emit (node:events:525:35) at ClientRequest.emit (node:domain:489:12) at onerror (/app/node_modules/.pnpm/[email protected]/node_modules/agent-base/dist/src/index.js:117:21) at callbackError (/app/node_modules/.pnpm/[email protected]/node_modules/agent-base/dist/src/index.js:136:17) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)...
eg 1. when selection on page middle,write some world on full page , then trigger paging , selection after all paragraph will into next page. 2. when editor have two...
可以通过「复制」的方式,代替杨超越完成 `commit`。 应该会有玄学的功效吧。