feat(core): Land AgentHistoryProvider. (#23978)

This commit is contained in:
joshualitt
2026-03-27 12:22:35 -07:00
committed by GitHub
parent e7dccabf14
commit 320c8aba4c
16 changed files with 593 additions and 17 deletions

View File

@@ -109,6 +109,12 @@ export function createMockConfig(
enableEnvironmentVariableRedaction: false,
},
}),
isExperimentalAgentHistoryTruncationEnabled: vi.fn().mockReturnValue(false),
getExperimentalAgentHistoryTruncationThreshold: vi.fn().mockReturnValue(50),
getExperimentalAgentHistoryRetainedMessages: vi.fn().mockReturnValue(30),
isExperimentalAgentHistorySummarizationEnabled: vi
.fn()
.mockReturnValue(false),
...overrides,
} as unknown as Config;