Repository navigation
fix(v2.0): 在线模型回归修复(回配归一化/超时/schema 容错) - #14
Merged
Merged
Conversation
added 2 commits
August 24, 2026 11:30
- normalize_title_for_match:回配前去《》/「」/弯引号/空白包裹(response_format 下 gemma3 会给 title 带书名号导致精确匹配失败被丢弃);防编造语义不变 - complete 超时 20s→45s:本地 CPU 模型长文生成常态 20-40s,原值在超时边缘抖动 - 单测:归一化包裹符号剥离(空内容不解包)
- SuggestedItem serde 缺省:ambiguous 缺省 true(视为待确认、日期永不猜测写入)、 detail/dueDate/dueTime 缺省 None;title/sourceExcerpt 仍必填(防编造锚点不变) - SuggestionContent.summary 补 serde default - 单测固化缺字段保守语义;在线回归 7/7(gemma3 + bge-m3,串行)
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.
真实 Ollama 在线回归(gemma3 + bge-m3,7 个 #[ignore] 用例全过)发现并修复三个产品问题:
验证:cargo 167 lib 全绿 + 在线回归 7/7。