Skip to main content

agent_instructions

Function agent_instructions 

Source
pub fn agent_instructions(worktree: &Path) -> Option<(String, String)>
Expand description

Read all nonempty root instruction files, preserving source labels. Each file gets a share of the combined budget; unused space from a short file goes to the other. A large file cannot crowd out the other convention. Truncation is announced with a path the model can read before editing.