rename max_context_length to fallback_default_max_tokens

This commit is contained in:
Jochen
2025-11-06 19:47:02 +11:00
parent af20c93c61
commit 0e1f9dbf9a
5 changed files with 14 additions and 14 deletions

View File

@@ -62,7 +62,7 @@ pub struct EmbeddedConfig {
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AgentConfig {
pub max_context_length: usize,
pub fallback_default_max_tokens: usize,
pub enable_streaming: bool,
pub timeout_seconds: u64,
pub auto_compact: bool,
@@ -133,7 +133,7 @@ impl Default for Config {
player: None, // Will use default_provider if not specified
},
agent: AgentConfig {
max_context_length: 8192,
fallback_default_max_tokens: 8192,
enable_streaming: true,
timeout_seconds: 60,
auto_compact: true,
@@ -249,7 +249,7 @@ impl Config {
player: None, // Will use default_provider if not specified
},
agent: AgentConfig {
max_context_length: 8192,
fallback_default_max_tokens: 8192,
enable_streaming: true,
timeout_seconds: 60,
auto_compact: true,