mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 06:01:14 +00:00
Fix README: tools are AgentTool, not extending Tool
This commit is contained in:
parent
b939f2b529
commit
93f8d6e659
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ const agent = new Agent({
|
|||
|
||||
## Tools
|
||||
|
||||
Tools extend `Tool` from pi-ai with an `execute` function:
|
||||
Define tools using `AgentTool`:
|
||||
|
||||
```typescript
|
||||
import { Type } from "@sinclair/typebox";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue