Update from code changes: document QiForge oracle latency knobs#35
Open
mintlify[bot] wants to merge 2 commits into
Open
Update from code changes: document QiForge oracle latency knobs#35mintlify[bot] wants to merge 2 commits into
mintlify[bot] wants to merge 2 commits into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
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.
Summary
Document the new
MAIN_REASONING_EFFORTenv var and the always-on request-path caching + memory-context compaction that ship with the QiForge oracle latency work.Changes
build-an-oracle/reference/environment-variables.mdx— new Latency tuning section coveringMAIN_REASONING_EFFORT(low/medium/high, defaultmedium, main role only) plus a note describing the always-on request-path caches (per-userSqliteSaverreuse, history-skipping build-time checkpoint read, room-keyeduserContextcache) and the always-on memory-context compaction (dedup across the six memory buckets, per-entity summary and whole-block caps, recall-footer overflow).build-an-oracle/reference/bundled-plugins/memory.mdx— updated the memory-context fetcher description: the 5-minute cache is now keyed byroomId(notsessionId), so a fresh session for the same room reuses cached context. Added a paragraph describing the dedup + budget applied to the prompt block.Context
Source PR: ixoworld/qiforge#216 — added memory compaction, request-path caches, and reasoning-effort tuning. The cache flags and compaction flag were promoted to always-on in the same PR; only
MAIN_REASONING_EFFORTremains as an operator-facing env var.