NAME
ren_context
SYNOPSIS
#include <libren.h>
Data Fields
char * session_id
char * history
size_t history_len
size_t history_cap
int max_turns
size_t max_history_chars
size_t max_tool_output
Detailed Description
Conversation session state passed across ren_chat() turns.
Field Documentation
char* ren_context::history
Serialized JSON messages array.
size_t ren_context::history_cap
Allocated capacity of history.
size_t ren_context::history_len
Active byte length of history.
size_t ren_context::max_history_chars
0 = overflow-driven (default); >0 = proactive client cap.
size_t ren_context::max_tool_output
0 = unlimited; >0 = per-tool-result char cap.
int ren_context::max_turns
0 = unlimited (default); >0 = turn cap before wrap-up.
char* ren_context::session_id
Optional session identifier string.
Author
Generated automatically by Doxygen for axil-auren from the source code.