lnuxe

Results comments of lnuxe

解决方案:自定义回调函数 要绕过安全规则限制,您可以通过自定义回调函数来实现。以下是几种方法: 方法1:创建自定义回调函数绕过安全规则 from phone_agent import PhoneAgent from phone_agent.model import ModelConfig def always_confirm(message: str) -> bool: """始终确认敏感操作""" print(f"自动确认敏感操作: {message}") return True def auto_takeover(message: str) -> None: """自动处理接管请求""" print(f"自动处理接管请求: {message}") #...

可以跑一遍完整的真机轨迹然后记录,有了完整的轨迹知识库后,可以通过rag检索增强操作,不过我目前也在跑 我已经有了很多的真机轨迹流水线日志,但是还没做到发送一个指令他能完整用最短轨迹完成任务,,,

可以在Open-AutoGLM > phone_agent > config>apps.py 这个文件里添加对应企业微信在安卓系统的包名: com.tencent.wework

本地用 dev 分支(commit 6123e4f,含 #709 / #728 两个修复)构建 vconsole.min.js 实测,**该问题已修复**: **复现步骤**(Playwright + headless Chrome,模拟 issue 描述的「只改 key 保存」): 1. 页面里 `localStorage.setItem('old-key', 'original-value')`,开启 vConsole 切到 Storage → LocalStorage 2. 点击 `old-key`...

我按 issue 中提到的「设置项方案」实现了一个 PR:#1119 在高级设置中新增「使用训令式罗马字」开关(仅日语词库显示,默认关闭,向后兼容): - 开启后目标拼写转换为训令式显示与判定(つ→tu、し→si、ち→ti、ふ→hu、じ→zi,含拗音 sha→sya 等) - 关闭时保持黑本式不变 已在本地跑通验证(`watashi`→`watasi`、`konnichiwa`→`konnitiha`),欢迎 review 指导 🙌

Fixed in **#749**. **根因**:非流式响应(有 `Content-Length`,XHR/fetch 取 JSON 和下载文件的常见情况)在 `afterFetch()` 里用 `resp.clone()` 取 body。`Response.prototype.clone()` 会 **tee** 流,而 tee 出来的流只有在**两个分支都被 cancel** 时才会真正取消。 页面调用 `reader.cancel()` 时: - `mockReader()` 命中 `if (this.item.readyState === 4)...

已提交修复 PR #750:根因是 mockReader 无条件解引用 result.value,而流最后一次 read() 按 Streams 规范返回 { done: true, value: undefined },分块响应结束时必然抛 TypeError。修复后分片正常合并、readyState 推进到 4。

已提 PR:https://github.com/Tencent/WeKnora/pull/5679 **根因**:文档预览走的是 `renderDocumentPreviewMarkdown()`,它的 `renderer.code` 把所有代码块统一渲染成 ``,没有 mermaid 分支。而聊天消息(`doc-content.vue`)和 `.mmd` 文件预览(`MermaidFilePreview.vue`)都已经支持,只有文档预览漏了。 **改动**: 1. `documentPreviewMarkdown.ts` — `lang === 'mermaid'` 时输出 ``,源码做 HTML 转义 2. `security.ts` — 文档预览的 DOMPurify 放行 `data-mermaid` 属性...

Fixed in #1285: resolve the temp dir with `fs.realpathSync()` before building the relative link, so both sides are physical. Verified on macOS: the failing test goes red → green (baseline...

Fixed in #1287: normalize each line in `linesOf` so the `$`-anchored `@!@!@ENDMSG` regex closes on Windows CRLF output. Simulated CRLF repro goes red → green (before: messages never close; after:...