Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions fern/squads/handoff/context-and-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ A handoff carries **conversation messages** and **variable values** separately.

Values already collected in the call remain available to later assistants even if the destination receives no earlier messages.

<Note>
The destination's system prompt is the first `system` message in its `model.messages`. On a handoff, any additional `system` messages in that array are dropped, so combine all destination instructions into a single system message.
</Note>

## Context engineering

Set `contextEngineeringPlan` on an assistant or squad destination. It filters the messages sent to that destination; it does not clear saved variables.
Expand Down
Loading