hermes-agent/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/developer-guide
Wolfram Ravenwolf f6a42b1acf feat(prompt): make context-file truncation limit configurable
PROBLEM: Automatic context files such as SOUL.md and AGENTS.md were capped by a hardcoded CONTEXT_FILE_MAX_CHARS value. Amy's local fork had raised that constant from 20K to 25K so a larger SOUL.md would not be silently truncated, but the hardcoded 25K value changed upstream default behavior and made the patch less generally useful.

SOLUTION: Restore the upstream-compatible 20K default, add a context_file_max_chars config setting for users who intentionally keep larger identity/project-context files, keep chat-visible truncation warnings, and document the new setting. Tests cover the default, config override, explicit max_chars precedence, and the warning text.
2026-06-16 11:28:35 -07:00
..
acp-internals.md
adding-platform-adapters.md docs(i18n): port deep-audit corrections to zh-Hans mirror (#41104) 2026-06-07 01:57:18 -07:00
adding-providers.md
adding-tools.md
agent-loop.md
architecture.md
browser-supervisor.md
context-compression-and-caching.md
context-engine-plugin.md
contributing.md docs: recommend standard installer for development (#46646) 2026-06-15 06:14:57 -07:00
creating-skills.md
cron-internals.md
extending-the-cli.md
gateway-internals.md
image-gen-provider-plugin.md
memory-provider-plugin.md
model-provider-plugin.md docs(i18n): port deep-audit corrections to zh-Hans mirror (#41104) 2026-06-07 01:57:18 -07:00
plugin-llm-access.md
programmatic-integration.md
prompt-assembly.md feat(prompt): make context-file truncation limit configurable 2026-06-16 11:28:35 -07:00
provider-runtime.md
session-storage.md
tools-runtime.md
trajectory-format.md
video-gen-provider-plugin.md
web-search-provider-plugin.md chore(web): remove web_crawl tool + provider crawl plumbing (#33824) 2026-05-28 04:52:42 -07:00