File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import type {
1313 BashToolResult ,
1414 FileReadToolArgs ,
1515 FileReadToolResult ,
16+ FileListToolArgs ,
17+ FileListToolResult ,
1618 FileEditInsertToolArgs ,
1719 FileEditInsertToolResult ,
1820 FileEditReplaceStringToolArgs ,
Original file line number Diff line number Diff line change @@ -3,7 +3,14 @@ import * as fs from "fs/promises";
33import * as path from "path" ;
44import * as os from "os" ;
55import { createFileListTool } from "./file_list" ;
6- import type { FileListToolArgs , FileListToolResult } from "@/types/tools" ;
6+ import type { FileListToolResult } from "@/types/tools" ;
7+ import type { ToolCallOptions } from "ai" ;
8+
9+ // Mock ToolCallOptions for testing
10+ const mockToolCallOptions : ToolCallOptions = {
11+ toolCallId : "test-call-id" ,
12+ messages : [ ] ,
13+ } ;
714
815describe ( "file_list tool" , ( ) => {
916 let tempDir : string ;
You can’t perform that action at this time.
0 commit comments