Repository navigation
v0.2.2
Added
-
Examples for real agent loops, each a one-line change where the tool result enters the conversation:
openai_tool_loop.py: OpenAI Responses APIanthropic_tool_loop.py: Anthropic Messages APIlangchain_tool.py: inside a LangChain@tool
All three were run against live models (gpt-6-luna and claude-opus-5-5). In each, the model received all 30 of 30 items and listed every one correctly.
-
_meta.total_note: when the source reports more items than the response holds (a page of 30 out of 412), the model is told thatcompletecovers this response only and that it should not present the items as the full set. Its wording is the newMessages.more_at_sourcetemplate.
Changed
summary()now gives item counts and the selected fields when aselectfits, instead of only the character count.
Upgrade note
Results from paginated sources carry the extra note, about 230 characters, within the same budget.
pip install -U agent-tool-result-reducer