Access agent state inside an agent function #1107
Answered
by
Robadob
daniele-baccega
asked this question in
Q&A
-
Hi, Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
Robadob
Sep 18, 2023
Replies: 1 comment
-
Not currently. It should be relatively easy for us to add though, we'd just need to decide a suitable API. Agent state being a string, we'd want to avoid returning a I'll create a new issue, and may be able to address it next week after it's been discussed with the team on Friday. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
daniele-baccega
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not currently.
It should be relatively easy for us to add though, we'd just need to decide a suitable API. Agent state being a string, we'd want to avoid returning a
char*
that needs to be compared in device code as this would be unintuitive for users (e.g. they might start comparing pointers).I'll create a new issue, and may be able to address it next week after it's been discussed with the team on Friday.