mirror of https://github.com/kortix-ai/suna.git
add variables in trigger prompt
This commit is contained in:
parent
014e6cf222
commit
d3f5d4fec8
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue