mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fix a type in the listFiles tool (#2092)
This commit is contained in:
parent
72894c22a0
commit
1242ba808e
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import { ToolParamName, ToolUse } from "../assistant-message"
|
|||
import { formatResponse } from "../prompts/responses"
|
||||
import { listFiles } from "../../services/glob/list-files"
|
||||
import { getReadablePath } from "../../utils/path"
|
||||
import { AskApproval, HandleError, PushToolResult } from "./types"
|
||||
import { AskApproval, HandleError, PushToolResult, RemoveClosingTag } from "./types"
|
||||
/**
|
||||
* Implements the list_files tool.
|
||||
*
|
||||
|
|
@ -26,7 +26,7 @@ export async function listFilesTool(
|
|||
askApproval: AskApproval,
|
||||
handleError: HandleError,
|
||||
pushToolResult: PushToolResult,
|
||||
removeClosingTag: (tag: ToolParamName, text?: string) => string,
|
||||
removeClosingTag: RemoveClosingTag,
|
||||
) {
|
||||
const relDirPath: string | undefined = block.params.path
|
||||
const recursiveRaw: string | undefined = block.params.recursive
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue