Skip to content

/btw continue flow loses previous conversation context #182

@wgqqqqq

Description

@wgqqqqq

Summary

Fixed in PR #187.

Problem: When using the /btw conversation flow and then asking a follow-up question, the assistant behaved as if the previous conversation did not exist.

Root Cause: In persist_btw_turn method, when a /btw conversation completed, although DialogTurnData was saved to persistence layer, the messages were not synced to the in-memory caches (MessageHistoryManager and CompressionManager).

Fix: After persisting the turn to disk, now sync the user message and assistant response to both memory caches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions