Fix: missing autoRecallMinRepeated config parsing (follow-up to #40)#52
Closed
kctony wants to merge 1 commit intowin4r:mainfrom
Closed
Fix: missing autoRecallMinRepeated config parsing (follow-up to #40)#52kctony wants to merge 1 commit intowin4r:mainfrom
kctony wants to merge 1 commit intowin4r:mainfrom
Conversation
Collaborator
|
Hi @kctony, thanks for the follow-up fix for #40! Just a heads-up — this change (adding Merging both PRs as-is will cause a conflict on
Let me know which way you'd like to go! |
Collaborator
|
感謝你的修復!這個改動已經包含在 #50 的第二個 commit 中,所以這裡就不重複合併了。再次感謝 🙏 |
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.
問題說明
PR #40 新增了 autoRecall 去重機制,但漏掉了兩個關鍵設定:
PluginConfig介面缺少autoRecallMinRepeated?定義parsePluginConfig函數缺少autoRecallMinRepeated解析邏輯導致
openclaw.json中的autoRecallMinRepeated配置無法正確讀入,功能失效。修正內容
PluginConfig介面新增autoRecallMinRepeated?: number;parsePluginConfig新增解析邏輯autoRecallMinRepeated: parsePositiveInt(cfg.autoRecallMinRepeated),影響範圍