Fix TypeScript errors and clean up unused imports
- Remove unused fs import from app.ts - Remove unused LLM import and missing module reference from server.ts - Fix parameter naming inconsistency in fetch.ts execute function - Add missing metadata property to fetch.ts return statement - Update test file to use correct API signatures and parameter names - Remove unused parameters from example.ts 🤖 Generated with opencode Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
@@ -8,7 +8,7 @@ export const ExampleTool = Tool.define({
|
||||
foo: z.string().describe("The foo parameter"),
|
||||
bar: z.number().describe("The bar parameter"),
|
||||
}),
|
||||
async execute(params) {
|
||||
async execute() {
|
||||
return {
|
||||
metadata: {
|
||||
lol: "hey",
|
||||
|
||||
Reference in New Issue
Block a user