mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 17:00:59 +00:00
Wrap custom tools with hooks (#248)
This commit is contained in:
parent
95dcd04e7c
commit
74f7e6c9d5
3 changed files with 10 additions and 4 deletions
|
|
@ -645,7 +645,7 @@ main.ts
|
|||
|
||||
## Tool Wrapping
|
||||
|
||||
Tools are wrapped with hook callbacks before the agent is created:
|
||||
Tools (built-in and custom) are wrapped with hook callbacks after tool discovery/selection, before the agent is created:
|
||||
|
||||
```
|
||||
main.ts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue