Function
generateCodeSearchToolDescription
({
owner,
repo,
}: RepoData)
Source from the content-addressed store, hash-verified
| 992 | * @returns A descriptive string for the tool |
| 993 | */ |
| 994 | export function generateCodeSearchToolDescription({ |
| 995 | owner, |
| 996 | repo, |
| 997 | }: RepoData): string { |
| 998 | return `Search for code within the GitHub repository: "${owner}/${repo}" using the GitHub Search API (exact match). Returns matching files for you to query further if relevant.`; |
| 999 | } |
| 1000 | |
| 1001 | /** |
| 1002 | * Recursively list every subfolder prefix under `startPrefix`. |
Tested by
no test coverage detected