Rename the history notes extension config option (#39830)

## What changed

Rename the token-budget configuration key and its Rust field from
`use_history_notes_history` to `use_history_notes_extension`. Update the config
schema, extension gating, explicit-setting detection, and tests to use the new
name consistently.

GitOrigin-RevId: b6a514e23f02095fcd1d35dc42eeb7394b800c77
This commit is contained in:
pmccrary-oai
2026-08-21 01:51:48 +00:00
committed by copyberry
parent daa48072f4
commit d8ec270183
9 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ pub struct TokenBudgetConfigToml {
pub enabled: Option<bool>,
/// Whether to expose the built-in history and notes extension.
#[serde(skip_serializing_if = "Option::is_none")]
pub use_history_notes_history: Option<bool>,
pub use_history_notes_extension: Option<bool>,
/// Number of tokens remaining before auto-compaction when the wrap-up reminder is emitted.
#[serde(skip_serializing_if = "Option::is_none")]
#[schemars(range(min = 1))]