Documentation Index
Fetch the complete documentation index at: https://docs.xhipai.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Followup suggestions automatically generate contextual prompt suggestions after each agent response, helping users discover what to ask next.Quick Start
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
count | number | 3 | Number of followup suggestions to generate |
model | ModelProvider | Agent’s model | Model used for generating suggestions |
Output Format
Followup suggestions appear on theRunOutput object:
Best Practices
- Use a cheap model (e.g.
gpt-4o-mini) for followup generation to minimize cost - Followup generation is best-effort — if it fails,
followupSuggestionswill be an empty array - Suggestions are generated after output guardrails, so they won’t trigger re-validation