lower neighborhood budget to 400KB to prevent oversized prompts
With core-personality + instructions + subconscious-notes adding ~200KB on top of the neighborhood, the 600KB budget pushed total prompts over the 800KB guard. Lowered to 400KB so full prompts stay under the limit. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
de36c0d39e
commit
a8b560b5e1
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ fn resolve(
|
|||
|
||||
// Budget: stop adding full content when prompt gets large.
|
||||
// Remaining neighbors get header-only (key + first line).
|
||||
const NEIGHBORHOOD_BUDGET: usize = 600_000; // ~150K tokens
|
||||
const NEIGHBORHOOD_BUDGET: usize = 400_000; // ~100K tokens, leaves room for core-personality + instructions
|
||||
let mut budget_exceeded = false;
|
||||
|
||||
for (nbr, strength, _score) in &included {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue