Documentation
¶
Overview ¶
Package compact implements the /compact slash command logic.
When the user runs /compact, the current session's model is asked to summarise the work in progress using SummaryPrompt. The summary is then carried forward into a fresh session via BuildCarryOver, giving the new context window enough information to pick up where the old one left off.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SummaryPrompt string
Functions ¶
Types ¶
This section is empty.
Source Files
¶
- compact.go
Click to show internal directories.
Click to hide internal directories.