Repository navigation
fix(v3-dev): 修复对话调度、上下文与记忆链路,整理配置页 - #262
Conversation
…d diagnostic context
整合 YesWeAreBot#253、YesWeAreBot#255、YesWeAreBot#257、YesWeAreBot#258、YesWeAreBot#259、YesWeAreBot#260、YesWeAreBot#261,保留续接与消息送达保护。 修正消息消费凭据、首次启动唤醒、触发来源恢复、图片范围与预设输出协议;隔离动态模板数据;补齐人物快照失效、日程授权与实例范围;统一工具授权、超时、参数描述及后台结果检查;修复模型超时、原生工具纠错与用量结算;将 Python 执行移至独立 Linux 沙箱。 Co-authored-by: Codex <codex@openai.com>
保留近期图片供后续问题使用,按实际附图过滤辅助识图;协调工具等待预算和送达回执,补齐格式纠正与读取失败恢复。按用途整理原生配置页并保留原配置路径。 Co-authored-by: Codex <codex@openai.com>
统一清理生命周期,取消旧任务并拒绝迟到写入;重置意愿和调度状态,按归属清理人物数据。修复发送回读、近期附图、诊断重复回灌、人物查询和总结纠错,完善模型失败分类与日记冷却。 Co-authored-by: Codex <codex@openai.com>
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. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b4a67b8fd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (choice?.delta?.tool_calls?.length) { | ||
| this.hasTools = true; | ||
| for (const call of choice.delta.tool_calls) { |
There was a problem hiding this comment.
Clear the first-token timeout on raw tool-call deltas
With native tool calling enabled against a standard OpenAI-compatible stream, a response containing only delta.tool_calls never invokes the stream-start callback here. The new singleStep path bypasses streamText's onEvent, which previously signaled tool-call activity, so RequestExecutor's first-token timer remains armed after arguments start arriving. A tool response that finishes after the default 15-second first-token timeout is therefore aborted and retried despite arriving promptly and fitting within totalTimeout. Invoke the stream-start hook for ordinary tool-call deltas as well as the internal native-activity marker.
Useful? React with 👍 / 👎.
| const originalBinding = binding(); | ||
| const target = { platform: session.platform, channelId: conversationChannelId(session)! }; | ||
| const world = this.ctx.yesimbot.world; | ||
| const page = await world.recallContext(session, { kind: "l2", limit: 20 }); |
There was a problem hiding this comment.
Read the newest L2 chunks for daily-plan context
When a configured memory source contains more than 20 L2 chunks, this request reads its oldest 20 chunks: recallRawPage sorts L2 records by startTimestamp: "asc" and defaults to offset zero. Recent events are consequently excluded from schedule generation. Once the page already has hasMore: true, appending newer chunks also leaves the source fingerprint unchanged, so reading today's schedule continues to accept the stale plan. Retrieve a latest or time-bounded set of chunks rather than the first ascending page.
Useful? React with 👍 / 👎.
修复了一些已知问题,完善对话调度、上下文维护和工具执行。- Tibo重置了?真的假的
history.clear -a all时同步重置意愿与调度状态,取消旧回复、日记和画像任务,阻止延迟结果写回Python 执行器改用 Linux bubblewrap + CPython 沙箱。使用该扩展的部署需要准备沙箱根文件系统并配置
sandboxRoot。