Repository navigation
Conversation
This change was generated by an AI agent (OpenHands) on behalf of @cbagwell. The file-based agent guide listed the frontmatter fields but never documented condenser, so users could not discover how to tune a sub-agent's context window. Add the field to the reference table and an Advanced Features section covering the default 80/4 LLMSummarizingCondenser, the tuning keys (max_size, keep_first, max_tokens, enabled), disabling condensation, full specs with a dedicated summarizer LLM, and the AgentDefinitionError behavior for invalid mappings. Companion to OpenHands/software-agent-sdk#7181 (fixes OpenHands/software-agent-sdk#7133). Co-authored-by: openhands <openhands@all-hands.dev>
Contributor
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
1 of 5 tasks
cbagwell
marked this pull request as ready for review
November 28, 2026 03:19
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was created by an AI agent (OpenHands) on behalf of @cbagwell.
Summary of changes
The file-based agent guide listed the frontmatter fields but never documented
condenser, so tuning a sub-agent's context window was undiscoverable. This adds:condenserto the Frontmatter Fields table insdk/guides/agent-file-based.mdx.LLMSummarizingCondenser(max_size=80,keep_first=4, using theagent's own LLM);
max_size,keep_first,max_tokens,enabled) with a YAMLexample;
none/false/{enabled: false});llm;AgentDefinitionErrorbehavior for invalid mappings (names the file and field).Companion to OpenHands/software-agent-sdk#7181, which implements this frontmatter form
(fixes OpenHands/software-agent-sdk#7133).
Validation
npx mint broken-links→ no broken links found.npx mint dev→sdk/guides/agent-file-basedrenders (HTTP 200); the new section andYAML example are present in the rendered page.
uv run --with pytest --with requests --with pyyaml pytest -q tests/→ 35 passed,2 errors in
tests/test_pricing_documentation.py, both pre-existing: the fixture fetchesOpenHands/OpenHands/main/openhands/utils/llm.py, which now returns 404.