Skip to content

fix(ai): 会话标题生成任务未触发 #257

@hrygo

Description

@hrygo

问题描述

第一个 Block 完成后,系统未触发会话标题生成任务。

现象

20:35:56.773 ai.block.completed block_id=416
20:35:56.773 ai.chat.completed duration_ms=22638

之后无任何标题生成相关日志。

预期行为

Block 完成 → 触发标题生成任务 → 更新会话标题

可能原因

  1. 标题生成任务未注册为 Block 完成后的钩子
  2. 异步任务调度失败
  3. 标题生成逻辑被移除或禁用

相关文件

  • ai/orchestrator/ - 任务编排
  • server/ - API 服务
  • store/ - 会话存储

Metadata

Metadata

Assignees

No one assigned

    Labels

    aibugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions