Entropic 2.14.3
Local-first agentic inference engine
Loading...
Searching...
No Matches
conversation_state.h File Reference

gh#144: one caller's conversation, as a value. More...

#include <entropic/types/message.h>
#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for conversation_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  entropic::ConversationState
 One caller-scoped conversation and its KV bookkeeping. More...
 

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Detailed Description

gh#144: one caller's conversation, as a value.

Provenance
Adapted from src/facade/conversation_state.h (v2.0.1), which was written for a facade-owned conversation, included by nothing, and never reached production. Its four operations mapped one-to-one onto the engine's conversation_ clusters, so the shape was right and the owner was wrong. The old file is deleted rather than left as a dead duplicate.

append_user / append_result are deliberately NOT carried over: their return-a-copy contract does not match run_drain_loop, which appends in place. Keeping them would have invited a second, subtly different append path beside the real one.

Version
2.12.0

Definition in file conversation_state.h.