Skip to content

Commit 0f71c22

Browse files
authored
chore(docs): add note about context var handling (#8953)
1 parent 3a99a40 commit 0f71c22

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/core_docs/docs/how_to/tool_runtime.ipynb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,17 @@
240240
"console.log(userToPets);"
241241
]
242242
},
243+
{
244+
"cell_type": "markdown",
245+
"metadata": {},
246+
"source": [
247+
"```{=mdx}\n",
248+
":::info Context Behavior\n",
249+
"Context variables pinned using `setContextVariable`. This means that if the value is passed by reference, and the value is later reaccessed using `getContextVariable`, the changes will be reflected in the original value.\n",
250+
":::\n",
251+
"```"
252+
]
253+
},
243254
{
244255
"cell_type": "markdown",
245256
"metadata": {},

0 commit comments

Comments
 (0)