We need to index the repository with pgvector to create a tool to allow the agents to know what's been built already and provide links to files and ask questions about the project. This will be necessary for all the coding and project management agents.
We need to index the repository with pgvector to create a tool to allow the agents to know what's been built already and provide links to files and ask questions about the project. This will be necessary for all the coding and project management agents.
See:
https://github.com/wishonia/wishonia/blob/a6d095cbcfac2c40d0d2694c7484ea7f59af687c/public/docs/self-improving-github-repo/self-improving-github-repo.md?plain=1#L14
I made this repoAgent that generates in-memory embeddings on the fly https://github.com/wishonia/wishonia/blob/a6d095cbcfac2c40d0d2694c7484ea7f59af687c/lib/github/repoAgent.ts
But we need a solution that will avoid duplicating embeddings and wasting money.