-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
Description
Describe the Bug
Agentic sub-process "leaks" toolCallResults variable into parent scope:
This is surprising to me as a user, as I expect that the agent works isolated, does not "leak" a variable, beyond the agent variable that I have to explicitly output map. It can also be an issue, when agents run in parallel to each other, or nested inside of each other.
Steps to Reproduce
- Run ai-agent-chat-with-tools
- Observe global
toolCallResultsvariable, populated with results of last agent run
Expected Behavior
- Agent is self-contained and does not leak any variable not explicitly specified.
Environment
- OS: Ubuntu 24
- Library version: 8.8, 8.9-alpha3
- Camunda version: 8.8, 8.9
Related to camunda/camunda#46530
Related to this discussion
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status