Repository navigation
Conversation
Signed-off-by: Iris3971 <293864676+Iris3971@users.noreply.github.com>
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.
改了什么
Fixes #134
Markdown 导入收到异常空响应时,现在计为失败并提供
empty_extraction诊断;模型明确返回合法 JSON 空数组[]时,仍正常完成且创建 0 条记忆。部分分块失败不会丢失其他已成功保存的记忆。本分支直接基于 testing
4ec562e4f3fa897e6b93fd09eb9f31e8e7f7cba5,仅包含 #134 最小修复、回归测试及配套文档、版本和 manifest 更新。版本为 4.0.1,无 main/testing 历史差异夹带。为什么这么改
原实现将空正文直接转换为
[],导致“没有有效模型响应”和“模型明确判断没有值得记忆的内容”得到相同的成功状态。修复在导入提取边界抛出明确异常,复用既有失败计数、状态持久化和部分成功处理,保留合法空数组的成功语义。不改共享 Dehydrator、提取提示词、独立导入预算、依赖或记忆存储规则,不记录模型响应正文或用户原文。
测过没有
仅提交审核,不部署、不合并。
Signed-off-by:,符合 DCO 与 CONTRIBUTING.md 的要求。