Fixed #48 and #57 - #1
Merged
Merged
Conversation
完成了adoresever#57 和 adoresever#48 添加了图谱修改工具和硬编码的claude模型名称
TriDefender
added a commit
that referenced
this pull request
Jul 31, 2026
#1 `extractTurnKnowledge` now calls `markExtracted` on empty extraction → no more redundant reprocessing by later compact adoresever#2 Added `isTurnExtracted()` guard at top of `extractTurnKnowledge` → if compact already marked the turn, the async per-turn extraction skips the redundant LLM call adoresever#3 Restored normalizeMessageContent() on both assemble() return paths — wraps string/null content into [{type:"text"}], patches malformed blocks adoresever#4 Restored prompt param on `assemble()` + fresh `recaller.recall(cleanPrompt(prompt))` with cache fallback adoresever#5 Restored `sliceLastTurn()` — last turn verbatim, prev turns text-only (strips tool_use/tool_result), truncates >6000-char tool_results Also removed dead code and redundant calls
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.
完成了adoresever#57 和 adoresever#48
添加了图谱修改工具和硬编码的claude模型名称