Skip to content

docs: handoff carries only the destination's first system message - #1322

Merged
stephenvapiai merged 2 commits into
VapiAI:mainfrom
chiranjeet-vapi:docs/handoff-first-system-message-only
Oct 14, 2026
Merged

stephenvapiai merged 2 commits into
VapiAI:mainfrom
chiranjeet-vapi:docs/handoff-first-system-message-only

Conversation

@chiranjeet-vapi

@chiranjeet-vapi chiranjeet-vapi commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

  • Adds a note to fern/squads/handoff/context-and-variables.mdx: on handoff, only the first system message in the destination's model.messages becomes its system prompt; additional system messages are dropped. Customers who split instructions across several system messages lose all but the first.

Evidence

  • Verified against the current API implementation.
  • Workaround in the note (combine instructions into one system message) matches what resolved the behavior for customers who hit it.

Testing Steps

  • fern check (pinned 5.151.1) passes locally
  • Check the preview deployment for the changed page

On handoff the destination's system prompt is its first system message;
additional system messages in model.messages are dropped.
@chiranjeet-vapi
chiranjeet-vapi force-pushed the docs/handoff-first-system-message-only branch from 7ca37cf to 65e4890 Compare October 14, 2026 04:09
@chiranjeet-vapi
chiranjeet-vapi marked this pull request as ready for review October 14, 2026 16:42
@lightsage-app

lightsage-app Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Lightsage docs evals

Waiting for the staging docs URL before running evals.

Lightsage will start the selected PR evals automatically when GitHub reports a successful docs deployment for this PR. This usually happens within 15 minutes.

Commit: e503a7d
Status: waiting for staging docs URL

@stephenvapiai
stephenvapiai merged commit 952c59f into VapiAI:main Oct 14, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants