---
source_file: "context/session_manager_test.go"
type: "code"
community: "Tokenize CountTokens History"
location: "L264"
tags:
  - graphify/code
  - graphify/EXTRACTED
  - community/Tokenize_CountTokens_History
---

# historyBudget()

## Connections
- [[SourceBudget_3]] - `references` [EXTRACTED]
- [[TestHistorySourceBuildsPartsWithinTokenBudget()]] - `calls` [EXTRACTED]
- [[TestHistorySourceIgnoresCurrentLoopBudget()]] - `calls` [EXTRACTED]
- [[TestHistorySourcePropagatesStoreErrors()]] - `calls` [EXTRACTED]
- [[TestHistorySourcePropagatesTokenizerErrors()]] - `calls` [EXTRACTED]
- [[TestHistorySourceRequiresStore()]] - `calls` [EXTRACTED]
- [[TestHistorySourceRequiresTokenizer()]] - `calls` [EXTRACTED]
- [[TestHistorySourceSkipsEmptyCurrentLoop()]] - `calls` [EXTRACTED]
- [[TestHistorySourceUsesStoredMessageTokenCounts()]] - `calls` [EXTRACTED]
- [[Tokenizer_8]] - `references` [EXTRACTED]
- [[session_manager_test.go]] - `contains` [EXTRACTED]

#graphify/code #graphify/EXTRACTED #community/Tokenize_CountTokens_History