Skip to content

bug: llm messages were lost because the save history was debounced 1000ms, and if llm response quickly enough, it would result in loss by reload history #2908

@feix760

Description

@feix760

bug: llm messages were lost because the save history was debounced 1000ms, and if llm response quickly enough, it would result in loss by reload history

Source code

Sidebar:reload_chat_history

self.chat_history = Path.history.load(self.code.bufnr)

Environment

[email protected] % nvim -v
NVIM v0.11.4
Build type: Release
LuaJIT 2.1.1753364724
Run "nvim -V1 -v" for more info

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