Hi! Yes, I’ve seen similar issues before with dynamic variables in chat agents. It’s usually related to how the variable is scoped or when it gets updated before the function runs. I can take a closer look and help identify why it’s getting overridden and fix it for you.
@VI