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
feat: build all Memory runtime platforms with one command
fix: wake exec waits on completion and buffered output (MEMMY-675)
…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的五组蛇形/驼峰参数、exec的 command/cmd 等同义字段;执行器按优先级取值,可能静默忽略另一份输入。max_output_tokens名称还与实际字符截断单位不一致。edit_file的模型 schema 只暴露规范字段;兼容层转换并归一化旧别名,同值合并、异值明确报错,并在任何文件访问前拒绝。new_text=""仍用于删除;空串与非空串同时传入报冲突,不擅自选取非空值。null/undefined 保持未提供语义。exec只公开 command、cwd、timeout、shell、login、yield_time_ms、max_output_chars;旧命令/目录/超时/等待时间别名继续兼容,异值冲突在命令准备、进程或会话创建前拒绝。exec/write_stdin统一公开max_output_chars,明确为 UTF-16 码元(JavaScript string.length),不是 token;旧 token 命名字段隐藏并保持历史字符额度含义,不估算 token 换算。write_stdin同步归一化旧别名,在输入、关闭或终止等副作用前检查冲突;保留既有直接调用超时上限兼容。冲突会作为工具错误回传,调用方可修正后重试;执行器不会自动选择某一份值执行。
改动范围
App/memmy-agent/下:src/core/agent-runtime/tools/{filesystem,shell,exec-session,parameter-aliases}.tssrc/templates/agent/tool-contract.mdtests/core/agent-runtime/tools/{edit-file-aliases,exec-aliases,exec-session-tools}.test.ts本 PR 不包含定位模式校验顺序的修复,该缺陷由另一条 PR 处理。
验证与边界
git diff --check通过。此前 3 处ApiConfig.timeout测试类型错误未改,不声称全测试类型检查通过。合并协调
与
fix-edit-file-selection-validation-v124同以v1.2.4为基线,分别对应两个缺陷。两者修改相邻参数入口与契约,先合并任一条后,另一条需要处理重叠冲突;保留别名归一化和定位校验两部分,不以 ours/theirs 覆盖。已验证本地组合结果及 688 项联合回归。