Repository navigation
Conversation
The OpenAI-compatible provider defaulted to a 120s request timeout, which caused frequent timeouts during evaluation runs where model responses legitimately take longer. Raise the default to 300s. The MEMMY_AGENT_OPENAI_COMPAT_TIMEOUT_S env override is unchanged; only the fallback default changes. Update the two default-timeout assertions accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
merge main into zy_npm_1008
…into zy_npm_1008
…eout-300s fix(providers): raise default model call timeout to 300s
…l-reply-copy-v1.2.2 fix(chat): 修复多轮对话中历史助手回复缺少复制按钮 MemTensor#666
…-install-v123 修复 Agent Hook 卸载后自动注入及 Codex trust 失败残留
…rt-conflict 修复:复用占用 18960 端口的兼容 Memory 服务
Synchronize the main branch code to the v1.2.3 branch
…display fix(desktop): render skill Markdown and restore slash command suggestions
统一已保存凭据的复用条件,绑定角色表单与 endpoint 来源,覆盖返回配置页、复用切换和凭据变更。 纳入 516ba15、43ead001 的 endpoint 去重依赖思路,并使用后端返回的 endpointAliases 替代掩码匹配;补齐相同模型去重和完整保存回归。
…edding-guard-v124
…all-dedup-v124 修复跨账号会话记忆重复写入与 L1 召回
…g-guard-v124 fix: guard embedding inputs and isolate rejected batches (MEMMY-488)
…ok-onboarding-key-test
…ey-test 修复 BYOK 配置返回后的连接测试失败
…delete fix: 删除任务时级联删除关联的 L1 和 span
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与修复
edit_file原先在读取文件、查找匹配之后才检查定位参数互斥,创建文件及部分提前返回路径会绕过检查。模型参数说明也未明确定位模式和计数断言的关系。execute,在任何文件访问前拒绝冲突。occurrence、line_hint、replace_all=true的定位语义;仅replace_all=true与定位参数互斥,false可以和定位参数组合。expected_replacements保持为独立计数断言,在写入前验证选中数量;创建模式仅接受省略/null 或 1,包括无变化操作。例如,
old_text=""配合replace_all=true, occurrence=1现在直接返回参数错误,不创建文件或目录;replace_all=false, occurrence=2, expected_replacements=1可以正常替换第二处。改动范围
App/memmy-agent/src/core/agent-runtime/tools/filesystem.tsApp/memmy-agent/src/templates/agent/tool-contract.mdApp/memmy-agent/tests/core/agent-runtime/tools/edit-file-validation.test.tsApp/memmy-agent/tests/core/agent-runtime/tools/tool-descriptions.test.ts本 PR 不包含别名收敛或 exec 输出单位修复。
验证
git diff --check通过。此前已确认的 3 处ApiConfig.timeout测试类型错误不在本 PR 范围;不声称全测试类型检查通过。合并协调
与
fix-tool-aliases-output-units-v124同以v1.2.4为基线,分别对应两个缺陷。两者修改相邻的参数入口与契约,先合并任一条后,另一条需要处理重叠冲突;不能直接以 ours/theirs 覆盖。已在本地组合分支验证:保留别名归一化,再执行本 PR 的定位约束,组合回归 688 项通过。