docs: Document askUserQuestion.retainedAnswers for the Agents endpoint - #771
Open
danny-avila wants to merge 1 commit into
Open
danny-avila wants to merge 1 commit into
danny-avila wants to merge 1 commit into
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
8 tasks done
Contributor
📦 Next.js Bundle Analysis for librechat.aiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
This branch was successfully 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.
Documents the new
endpoints.agents.askUserQuestionblock introduced by LibreChat-AI/LibreChat#15944:retainedAnswers.enabled(defaulttrue) andretainedAnswers.maxTokens(default4096).The section sits after
checkpointeron the Agents endpoint page, in the sameOptionTableplus 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.