How do you use context? #42
-
|
Great library, thanks for making it @mikehostetler! How do you use context? I want to pass in my Phoenix app's currently logged in user's scope to my tools/actions so that I can run some db queries. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Thanks! Context is another map of data that can be embedded into an Instruction or in a call to |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Jido.Workflow.runis the older method - but currently published on HexJido.Exec.runis the new path - but is unreleased yet - the release will happen shortly