Repository navigation
fix(discord): retain configurable AI budgets in follow-ups - #344
Merged
Merged
Conversation
Accept closed generation limits up to 262144 and tool budgets up to 128. Keep ownership, literal reply text, numeric validation and unknown-field rejection unchanged. The app resolves and pins the effective budgets.
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.
Discord replies can retain the larger AI budgets chosen for their original request instead of failing the old 20-call validation ceiling. The closed route now accepts up to 128 calls and 262144 generation tokens; reply text remains literal and cannot alter either value.
This is the core prerequisite for configurable application budgets. Existing ownership, freshness, unknown-field rejection and no-duplicate-followup checks remain intact; the app change follows the published core artifact.
Validation: all 2065 core source checks pass. Regression covers maximum pinned budgets and flag-looking literal replies; out-of-range and non-integer limits are rejected. Inline correctness review only, not independent/cross-model review. No paid inference or production writes.