Buckets:
| import { Plugin } from "./index.js" | |
| import { tool } from "./tool.js" | |
| export const ExamplePlugin: Plugin = async (_ctx) => { | |
| return { | |
| tool: { | |
| mytool: tool({ | |
| description: "This is a custom tool", | |
| args: { | |
| foo: tool.schema.string().describe("foo"), | |
| }, | |
| async execute(args) { | |
| return `Hello ${args.foo}!` | |
| }, | |
| }), | |
| }, | |
| } | |
| } | |
Xet Storage Details
- Size:
- 397 Bytes
- Xet hash:
- f889bcab464fba72c50274678f84e32e9e0ee6a6bf00f66739bdb922b7e7eaff
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.