Skip to content

Commit

Permalink
docs: remove js extension and add newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamwhiteuk committed Sep 2, 2024
1 parent e60c3b8 commit 7eb8b65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ Tools MUST do the following:
`ToolRunOptions` is optional (default BaseToolRunOptions), optional parameters that are passed to the run method

```typescript
import { BaseToolOptions, BaseToolRunOptions } from "bee-agent-framework/tools/base.js";
import { BaseToolOptions, BaseToolRunOptions } from "bee-agent-framework/tools/base";

type ToolOptions = BaseToolOptions;
type ToolRunOptions = BaseToolRunOptions;

export class MyNewTool extends Tool<MyNewToolOutput, ToolOptions, ToolRunOptions> {
// tool implementation
}
Expand Down

0 comments on commit 7eb8b65

Please sign in to comment.