continue-custom/core/tools/implementations/viewRepoMap.ts
2024-11-22 22:08:58 -08:00

14 lines
365 B
TypeScript

import generateRepoMap from "../../util/generateRepoMap";
import { ToolImpl } from ".";
export const viewRepoMapImpl: ToolImpl = async (args, extras) => {
const repoMap = await generateRepoMap(extras.llm, extras.ide, {});
return [
{
name: "Repo map",
description: "Overview of the repository structure",
content: repoMap,
},
];
};