core/agent: drop increase-limit hint in favor of truncate tokens

This commit is contained in:
2026-08-11 14:53:49 +08:00
parent cb137c1dee
commit 8cd456171c
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ def truncate_tool_result(
return (
f"{text[:max_chars]}\n"
f"...[Truncated ({max_chars} chars max.; {omitted} chars omitted). "
f"You may ask for user to increase the limit via configuration file.]"
f"Use `get_truncated` when a `TRUNCATE_TOKEN` is shown.]"
)
return f"{text[:max_chars]}\n...[truncated {omitted} characters]"