Repository navigation
fix: 强化关系差异表达与请求注入兼容性(0.8.1) - #64
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
问题与结果
默认关系提示对熟悉度、好感和信任的表达较笼统,“关系不改变发言策略”的限制也容易弱化语气与相处方式的差异。此次将三者分别映射到熟络程度、情绪回应和善意解释,使不同关系能在原有人格内体现出来,同时保留人格边界、事实标准,以及宿主和其他插件对响应时机、对象和频率的控制。
部分插件复制
ProviderRequest时会保留已注入的系统提示,却丢失 Bond 私有标记,导致重复注入。现在可从同一消息已冻结的关系快照精确清理旧块,并覆盖路由未命中或异常时的清理路径;不通过标题猜测或删除其他插件内容。改动
验证
git diff --check通过。ToolLoopAgentRunner的首轮、工具调用和空回复重试流程通过,使用离线录制 Provider。以上验证覆盖提示构造和请求兼容性,尚未验证真实模型的回复差异、实际平台完整链路或所有第三方插件组合。跨消息复制系统提示时,调用方仍需保留 Bond 标记或使用未注入的原始宿主提示。