---
type: community
cohesion: 0.13
members: 38
---

# Tokenize CountTokens History

**Cohesion:** 0.13 - loosely connected
**Members:** 38 nodes

## Members
- [[.CountTokens()_2]] - code - context/session_manager_test.go
- [[.CountTokens()_3]] - code - context/session_manager_test.go
- [[.ID()_2]] - code - context/session_manager_test.go
- [[.ID()_3]] - code - context/session_manager_test.go
- [[.Messages()_1]] - code - context/session_manager_test.go
- [[.Tokenize()_2]] - code - context/session_manager_test.go
- [[.Tokenize()_3]] - code - context/session_manager_test.go
- [[Context_12]] - code - context/session_manager_test.go
- [[GetMessagesCall]] - code - context/session_manager_test.go
- [[History()]] - code - context/history_source.go
- [[Message_4]] - code - context/session_manager_test.go
- [[Part_6]] - code - context/session_manager_test.go
- [[Role_1]] - code - context/session_manager_test.go
- [[Source]] - code - context/history_source.go
- [[SourceBudget_3]] - code - context/session_manager_test.go
- [[T_12]] - code - context/session_manager_test.go
- [[TestHistorySourceBuildsPartsWithinTokenBudget()]] - code - context/session_manager_test.go
- [[TestHistorySourceIgnoresCurrentLoopBudget()]] - code - context/session_manager_test.go
- [[TestHistorySourcePropagatesStoreErrors()]] - code - context/session_manager_test.go
- [[TestHistorySourcePropagatesTokenizerErrors()]] - code - context/session_manager_test.go
- [[TestHistorySourceRequiresStore()]] - code - context/session_manager_test.go
- [[TestHistorySourceRequiresTokenizer()]] - code - context/session_manager_test.go
- [[TestHistorySourceSkipsEmptyCurrentLoop()]] - code - context/session_manager_test.go
- [[TestHistorySourceUsesEntryRequiredness()]] - code - context/session_manager_test.go
- [[TestHistorySourceUsesStoredMessageTokenCounts()]] - code - context/session_manager_test.go
- [[Tokenizer_8]] - code - context/session_manager_test.go
- [[assertHistoryContainsAll()]] - code - context/session_manager_test.go
- [[assertHistoryContainsNone()]] - code - context/session_manager_test.go
- [[assertHistoryStoreQueries()]] - code - context/session_manager_test.go
- [[fakeConversation]] - code - context/session_manager_test.go
- [[historyBudget()]] - code - context/session_manager_test.go
- [[joinPartText()]] - code - context/session_manager_test.go
- [[mustCountTokens()]] - code - context/session_manager_test.go
- [[rejectingEmptyTokenizer]] - code - context/session_manager_test.go
- [[sessionMessage()]] - code - context/session_manager_test.go
- [[sessionMessageWithTokens()]] - code - context/session_manager_test.go
- [[session_manager_test.go]] - code - context/session_manager_test.go
- [[whitespaceTokenizer]] - code - context/session_manager_test.go

## Live Query (requires Dataview plugin)

```dataview
TABLE source_file, type FROM #community/Tokenize_CountTokens_History
SORT file.name ASC
```

## Connections to other communities
- 2 edges to [[_COMMUNITY_DebugSink Message history]]
- 1 edge to [[_COMMUNITY_String Marshal Iteration]]
- 1 edge to [[_COMMUNITY_testgo Part Context]]
- 1 edge to [[_COMMUNITY_Conversation testPromptView Entries]]

## Top bridge nodes
- [[session_manager_test.go]] - degree 21, connects to 1 community
- [[History()]] - degree 12, connects to 1 community
- [[sessionMessage()]] - degree 10, connects to 1 community
- [[sessionMessageWithTokens()]] - degree 6, connects to 1 community