-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what if i want it to work on existing codebase and not from scratch ? #5
Comments
Yup, that is the next step. Basically "build your own Intern". It will take some time building tools and logic, but it sure is possible. Right now Devyan is in early stage where We get applications from text promts |
Please let me know how can i help in this direction . Like you can suggest any edit to a file or something , i will update and PR it. |
I see. I will let you know. I myself dont have a rough idea on how to implement. but i will let you know what can be done |
ok. Can we use graphrag : https://github.com/microsoft/graphrag for context generation using vector search ? or how can we feed inital context or base context into this system ? If we can feed base knowledge at the initial stage then we can achieve this . |
We should also make tools which can edit a file instead of rewriting. this will be tricky for the agent to edit in a file. |
it is simple , we can use prompt something like this :
using this we can parse edits from the response and replace it with existing code and run git commit with generated commit message . |
I see, But the problem with that approach is that we might hit token limits if the context from one task is too much. But can definitely give this approach a try |
We can do some tricks here with that approach, Works perfectly |
if we can decode what cursor.sh is doing then we can do this. if you know cursor IDE , it is a AI coding IDE based on VS Code , it is very good to use but one only and big problem is it is closed source and i dont know how it accesses information across different files . may be it uses some sophisticated RAG system specially designed code coding text. |
Yup. Theres also another approach where we programmatically create code blocks (Grouping snippets). And the operations can be done on these blocks. Not sure how good this idea might be in practical case wrt costs |
please review #6 for this |
Use AST to find codebase dependancy and represent it to LLM(use as a context in prompt), and focus on the code snippets you want to update or write. That may solve the long context token problem. |
I want it to work on my existing project with multiple code files and with nested folders and multimodality with local models like ollama and lite-llm
The text was updated successfully, but these errors were encountered: