Skip to content

Commit 522942c

Browse files
committed
refactor: improve prompt
1 parent d35e976 commit 522942c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/prompts/tools/codebase-search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ToolArgs } from "./types"
22

33
export function getCodebaseSearchDescription(args: ToolArgs): string {
44
return `## codebase_search
5-
Description: Request to perform a semantic search across the indexed codebase to find relevant code snippets based on a natural language query. Requires code indexing to be enabled and configured.
5+
Description: Search the codebase for relevant files based on a query. Use this when the user asks a question about the codebase that requires finding specific files or code snippets.
66
Parameters:
77
- query: (required) The natural language query to search for.
88
- limit: (optional) The maximum number of search results to return. Defaults to 10.

0 commit comments

Comments
 (0)