add variables in trigger prompt

This commit is contained in:
Saumya 2025-10-09 14:02:09 +05:30
parent 014e6cf222
commit d3f5d4fec8
2 changed files with 2 additions and 2 deletions

View File

@ -823,7 +823,7 @@ export const EventBasedTriggerDialog: React.FC<EventBasedTriggerDialogProps> = (
placeholder="What should the agent do when this event occurs?"
/>
<p className="text-xs text-muted-foreground">
Use <code className="text-xs bg-muted px-1 rounded">payload</code> to include trigger data
Use <code className="text-xs bg-muted px-1 rounded">{'{{variable_name}}'}</code> to add variables to the prompt
</p>
</div>
</div>

View File

@ -1044,7 +1044,7 @@ export const SimplifiedScheduleConfig: React.FC<SimplifiedScheduleConfigProps> =
<p className="text-sm text-destructive">{errors.agent_prompt}</p>
)}
<p className="text-xs text-muted-foreground">
Use <code className="text-xs bg-muted px-1 rounded">payload</code> to include trigger data
Use <code className="text-xs bg-muted px-1 rounded">{'{{variable_name}}'}</code> to add variables to the prompt
</p>
</div>
</div>