AgentUserEventConfirmation
Represents an agent user event.
Properties
approval_request_idstring requiredID to correlate the question the user is responding to.- Entities to add or remove from the agent.
- Entities to add to the Agent’s context. Entities must be valid, and will be automatically deleted if they are invalid.
- Entities to remove from the Agent’s context.
okboolean requiredBoolean confirmation response.- Optional Pulumi Cloud page the user has the Neo pane open on at the moment they sent this event. Persisted with the event so cold-start replay can reproduce per-turn page context exactly. Omitted by clients with no concept of a current page (CLI, scheduled tasks, Slack, GitHub triggers, API consumers).
- ↳
kindstring optionalOptional stable label declared by the route, used by the agent to phrase the user’s location in its system prompt or branch on well-known pages. Examples: ‘stack-update’, ’environment’, ’neo-task’. Routes without a declared kind leave this null; the agent falls back to the path and params. - ↳
pathstring optionalRaw URL path of the page the user is viewing (e.g. ‘/myorg/myapp/prod/updates/47’). Always populated. - ↳
paramsmap[string]string optionalRoute path parameters extracted from the matched Angular route, keyed by parameter name (e.g. {‘organization’: ‘myorg’, ‘project’: ‘myapp’, ‘stack’: ‘prod’, ‘version’: ‘47’}). Empty for routes with no path parameters. instructionsstring optionalIf the request was rejected, this is field carries instructions to the agent on what to do instead.timestampstring requiredWhen the event occurred.typestring required
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.