Skip to content
Snippets Groups Projects
Unverified Commit 72d65dd5 authored by Alex Yang's avatar Alex Yang Committed by GitHub
Browse files

docs: fix example (#1168)

parent 553bc55b
Branches
Tags
No related merge requests found
......@@ -50,10 +50,10 @@ We want to see what our agent is up to, so we're going to hook into some events
```javascript
Settings.callbackManager.on("llm-tool-call", (event) => {
console.log(event.detail.payload);
console.log(event.detail);
});
Settings.callbackManager.on("llm-tool-result", (event) => {
console.log(event.detail.payload);
console.log(event.detail);
});
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment