mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 07:17:54 +08:00
dfaaad563c
A tool result stays whole in its own tool message; a request-prep marker names a document_id (the message's tool_call_id). read_document, search_document, document_info, and list_documents resolve that id back to the message body, so reading and searching a capped result needs no re-run. The store binds on the host instance and reads the agent's live history, which carries whole results and re-reads whatever a resume reloaded. Co-authored-by: CommandCodeBot <noreply@commandcode.ai>