Skip to content

docs: Document askUserQuestion.retainedAnswers for the Agents endpoint - #771

Open
danny-avila wants to merge 1 commit into
mainfrom
docs/ask-user-retained-answers
Open

danny-avila wants to merge 1 commit into
mainfrom
docs/ask-user-retained-answers

Conversation

@danny-avila

Copy link
Copy Markdown
Collaborator

Documents the new endpoints.agents.askUserQuestion block introduced by LibreChat-AI/LibreChat#15944: retainedAnswers.enabled (default true) and retainedAnswers.maxTokens (default 4096).

The section sits after checkpointer on the Agents endpoint page, in the same OptionTable plus example format as its neighbours, and the block is added to the page's top example. It explains what the answers block is (a verbatim quote of the user's earlier answers at the top of the current user turn, rebuilt each request, never persisted, excluded from memory extraction, counted in the turn's context budget), what goes wrong without it, and the one-line opt-out.

English page only, matching how the other language files are produced.

Adds the endpoints.agents.askUserQuestion block: retainedAnswers.enabled
(default true) and retainedAnswers.maxTokens (default 4096), which control
how a user's answers to ask_user_question are carried into later model
calls once compaction has removed the messages that received them.
Companion to LibreChat-AI/LibreChat#15944.
@vercel

vercel Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
librechat-ai Ready Ready Preview Sep 14, 2026 11:07pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for librechat.ai

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

This branch was successfully deployed

1 active deployment
Preview — 41d76f8f Deployed Sep 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant