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

# Optional()

## Connections
- [[EntryOption]] - `references` [EXTRACTED]
- [[TestPromptBuilderBudgetsRequiredSourceBeforeEarlierOptionalContext()]] - `calls` [INFERRED]
- [[TestPromptBuilderCountsSourcePartsWithoutExplicitTokens()]] - `calls` [INFERRED]
- [[TestPromptBuilderDropsEarlierOptionalContextForLaterUserPrompt()]] - `calls` [INFERRED]
- [[TestPromptBuilderDropsOptionalSourceOverBudget()]] - `calls` [INFERRED]
- [[TestPromptBuilderDropsOptionalStaticSystemPartOverBudget()]] - `calls` [INFERRED]
- [[TestPromptBuilderSourceFailurePolicy()]] - `calls` [INFERRED]
- [[TestPromptBuilderSummarizesOptionalStaticUserPartBeforeDropping()]] - `calls` [INFERRED]
- [[TestPromptSessionRebuildsSourcesWhenConversationReserveIsExceeded()]] - `calls` [INFERRED]
- [[prompt_builder.go]] - `contains` [EXTRACTED]

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