Skip to content
Discussion options

You must be logged in to vote

Your observation matches the v0.11.4 implementation, but it is not chat:completion being persisted directly by get_event_emitter.

The emitter's database-write branches cover status, message, replace, embeds, files, and source/citation events, but not chat:completion.

The Action path differs on the client:

  1. chatCompletionEventHandler applies the event's output or content to the in-memory message.
  2. When the Action request completes, chatActionHandler saves the entire updated history with updateChatById.

That final whole-chat save is why the Action mutation survives a refresh. Pipe completion uses a separate backend persistence lifecycle, which explains the apparent inconsistency.

I cannot d…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by plutonium-94
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants