feat: add MaxContextTokens (prompt-budget) field to ToolDef #1
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/max-context-tokens"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
MaxContextTokens int(jsonmaxContextTokens,omitempty) toToolDef, a prompt-trim budget field distinct from the output-limitMaxTokens. Consumed by bpai to set a per-model context budget; plumbed through gptscript separately.\n\nPart of the per-model context budget feature (gptscript + bpai companion PRs).Landed on
mainvia fast-forward (commit8644d41). The PR merge was blocked by a requiredLint*status check that no runner produces on this fork (structurally unsatisfiable), so the reviewed 1-line field commit was fast-forwarded directly (equivalent to a rebase-merge, which the org allows). Closing as merged-by-FF.Pull request closed