---
source_file: "context/prompt_builder.go"
type: "code"
community: "testgo Part Context"
location: "L184"
tags:
  - graphify/code
  - graphify/INFERRED
  - community/testgo_Part_Context
---

# Tokens()

## Connections
- [[.BuildParts()_2]] - `calls` [INFERRED]
- [[EntryOption]] - `references` [EXTRACTED]
- [[TestPromptBuilderBudgetsRequiredSourceBeforeEarlierOptionalContext()]] - `calls` [INFERRED]
- [[TestPromptBuilderBuildsStructuredPrompt()]] - `calls` [INFERRED]
- [[TestPromptBuilderDropsEarlierOptionalContextForLaterUserPrompt()]] - `calls` [INFERRED]
- [[TestPromptBuilderDropsOptionalSourceOverBudget()]] - `calls` [INFERRED]
- [[TestPromptBuilderReusesTokenCountForSourceBudget()]] - `calls` [INFERRED]
- [[TestPromptSessionRebuildsSourcesWhenConversationReserveIsExceeded()]] - `calls` [INFERRED]
- [[newHistoryPart()]] - `calls` [INFERRED]
- [[prompt_builder.go]] - `contains` [EXTRACTED]

#graphify/code #graphify/INFERRED #community/testgo_Part_Context