feat: update maximum steps and token limits to usize::MAX; add split_spans_into_lines function for improved chat display

This commit is contained in:
asepharyana
2026-07-12 04:01:10 +07:00
parent a974118b5a
commit 0cc60c12ce
6 changed files with 38 additions and 12 deletions
+4 -4
View File
@@ -17,7 +17,7 @@ pub fn builtin_agents() -> Vec<AgentDefinition> {
"glob".to_string(),
"git_operator".to_string(),
]
).with_max_steps(25),
).with_max_steps(usize::MAX),
AgentDefinition::new(
"reviewer".to_string(),
@@ -32,7 +32,7 @@ pub fn builtin_agents() -> Vec<AgentDefinition> {
"recall".to_string(),
"remember".to_string(),
]
).with_max_steps(10),
).with_max_steps(usize::MAX),
AgentDefinition::new(
"researcher".to_string(),
@@ -46,7 +46,7 @@ pub fn builtin_agents() -> Vec<AgentDefinition> {
"glob".to_string(),
"search".to_string(),
]
).with_max_steps(15),
).with_max_steps(usize::MAX),
AgentDefinition::new(
"planner".to_string(),
@@ -60,6 +60,6 @@ pub fn builtin_agents() -> Vec<AgentDefinition> {
"glob".to_string(),
"plan".to_string(),
]
).with_max_steps(20),
).with_max_steps(usize::MAX),
]
}