Issue with call logs when a Squad has "ContextEngi...
# support
s
When using the ContextEngineeringPlanNone in a squad's handoff, the call log's
Transcripts
only contains the last agent interaction. It's like the
Transcripts
loses all the messages and tool calls, but the
Logs
tab shows everything
v
When you use
"contextEngineeringPlan": { "type": "none" }
in a squad handoff, only the last agent's messages are passed to the next assistant, which means the
Transcripts
in the call log will only show that final interaction. This is expected based on the Handoff Tool documentation, as no prior context is included in the transcript. If you want the full conversation to appear in the transcript, try switching to
"type": "all"
or `"type": "lastNMessages"`:
Copy code
json
"contextEngineeringPlan": { "type": "all" }
This should ensure the entire conversation history is available in the transcript, not just the last agent's messages. For more details, see the [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff#context-engineering). Source: - [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff#context-engineering)
c
Hi, could you please provide a call id where you experienced this issue? We would like to review the logs to identify the cause.
s
Hello! Here is an example: 019a543b-28d9-7447-b9a9-f21846e51188 I switched to 'lastNMessages=5' and not it shows only a few messages not the whole transcript
c
Thanks for the call ID. To ensure the full conversation appears in the Transcripts tab, you’ll want to switch the squad handoff configuration from
lastNMessages
to
all
. For example:
Copy code
"contextEngineeringPlan": {
  "type": "all",   // previously lastNMessages
},
When
type
is set to
"all"
, Vapi forwards the complete context into the next assistant, which also makes the full transcript available in the call logs.
s
I understand that, but is this really working as intended? What I see is the
contextEngineeringPlan
and the transcript are two different features that should work together no matter what. I should still be able to see the whole Transcript even with
lastNmessages
chosen.
REOPEN
REOPEN
c
Hi there, Great question — here’s how the
contextEngineeringPlan
behaves during squad handoffs and why you're seeing the behavior in the call logs. When you use:
Copy code
json
"contextEngineeringPlan": {
  "type": "lastNMessages",
  "lastNMessages": 5
}
only the last 5 messages from the conversation are forwarded into the next assistant. Everything prior to those 5 messages is intentionally excluded from the handoff context. What this means in practice - The Logs tab will still show all events (because logs record everything at the system level). - The Transcripts tab, however, only displays the messages that were actually passed into the new assistant during the handoff. - Since
lastNMessages
limits the context to the most recent messages, the earlier parts of the transcript will not appear. So yes — this behavior is expected when using
lastNMessages
. The transcript is not independent of the context engineering plan; it reflects exactly what context was handed off. If you want the full conversation to appear in the Transcript tab Use:
Copy code
json
"contextEngineeringPlan": {
  "type": "all"
}
This ensures: - Every message from the entire conversation is passed to the next assistant - The Transcripts tab will show the full conversation from start to finish Summary -
none
→ passes no prior context (transcript shows only post-handoff messages) -
lastNMessages
→ passes only the last N messages (transcript shows only those) -
all
→ passes the entire conversation (full transcript preserved) If you want the transcript to show the whole conversation regardless of handoff behavior,
type: "all"
is the correct configuration.
2 Views