Summary
When calling actions, Agent Script doesn't resolve expressions in string input parameters.
For example, in this action:
run @actions.log_event
with event_type="reasoning_started"
with event_data="Turn: {[email protected]_count}"
expressions are not evaluated and this produces the following event_data value:
This affects at least the AfterReasoning recipe.
Salesforce Org Type
Scratch Org
Steps To Reproduce
- Run the test instructions for AfterReasoning.
- Open the Agent Log Events tab and look at the Event Data field values.
Current Behavior
The expressions aren't evaluated in the log Event Data field and produce things like:
Turn: {!state.turn_count}
Expected Behavior
Expressions should be evaluated as in
Code of Conduct