Entropic 2.9.4
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::GenerationConfig Struct Reference

Generation parameters configuration (top-level defaults). More...

#include <entropic/types/config.h>

Public Attributes

int max_tokens = 4096
 Default max tokens (64–32768)
 
float default_temperature = 0.7f
 Default temperature (0.0–2.0)
 
float default_top_p = 0.9f
 Default top_p (0.0–1.0)
 
std::string budget_mode = "off"
 gh#80 (v2.5.0) thinking-budget mode: "off" (default), "tokens", or "wall_clock".
 
int budget_limit = 0
 gh#80 (v2.5.0) budget ceiling: generated tokens (budget_mode "tokens") or wall-clock seconds (budget_mode "wall_clock") of tool-call-free generation before the engine nudges-then-hard-cuts.
 

Detailed Description

Generation parameters configuration (top-level defaults).

Version
1.8.1

Definition at line 712 of file config.h.

Member Data Documentation

◆ budget_limit

int entropic::GenerationConfig::budget_limit = 0

gh#80 (v2.5.0) budget ceiling: generated tokens (budget_mode "tokens") or wall-clock seconds (budget_mode "wall_clock") of tool-call-free generation before the engine nudges-then-hard-cuts.

Must be > 0 to engage.

Version
2.5.0

Definition at line 730 of file config.h.

◆ budget_mode

std::string entropic::GenerationConfig::budget_mode = "off"

gh#80 (v2.5.0) thinking-budget mode: "off" (default), "tokens", or "wall_clock".

Stored as a string here to keep types/config.h free of the core engine_types BudgetMode enum; the facade's build_loop_config maps it. Unknown values resolve to "off" with a warning.

Version
2.5.0

Definition at line 723 of file config.h.

◆ default_temperature

float entropic::GenerationConfig::default_temperature = 0.7f

Default temperature (0.0–2.0)

Definition at line 714 of file config.h.

◆ default_top_p

float entropic::GenerationConfig::default_top_p = 0.9f

Default top_p (0.0–1.0)

Definition at line 715 of file config.h.

◆ max_tokens

int entropic::GenerationConfig::max_tokens = 4096

Default max tokens (64–32768)

Definition at line 713 of file config.h.


The documentation for this struct was generated from the following file: