Skip to content

feat(render): compact search results and bounded page contents - #49

Merged
senamakel merged 3 commits into
tinyhumansai:mainfrom
senamakel:epic/712-tool-tokens
Nov 8, 2026
Merged

senamakel merged 3 commits into
tinyhumansai:mainfrom
senamakel:epic/712-tool-tokens

Merge pull request #6 from senamakel/epic-712-ts5-compact-render

b99ebbb
Select commit
Loading
Failed to load commit list.
TinySweeper / tinysweeper/tests succeeded Nov 8, 2026 in 0s

0 findings

This adds `RenderOptions` with `render_text_with`/`render_markdown_with` (sources compaction, configurable excerpt and contents caps), an Exa `contents_max_chars` provider setting that rides as `max_characters`, and role-aware page/citation caps in normalization. Each behavioural branch has a test asserting the actual output — request bodies, rendered strings, and per-page char counts — so a regression would surface. The changes look sound and consistent with the repository's test-layout rules.

No findings.

tinysweeper 0.1.2