Code Monkey home page Code Monkey logo

Comments (8)

paul-gauthier avatar paul-gauthier commented on August 16, 2024

Thanks for trying aider and filing this issue.

This doc may be helpful:

https://aider.chat/docs/troubleshooting/edit-errors.html

from aider.

ErykCh avatar ErykCh commented on August 16, 2024

I would expect Aider to ask to include these files:

Add these files to the chat?

and if I have the --yes option enabled, it will even do it automatically.

from aider.

paul-gauthier avatar paul-gauthier commented on August 16, 2024

Are those files part of your git repo? If you do git ls-files do they show up?

from aider.

ErykCh avatar ErykCh commented on August 16, 2024

No.

another example from a moment ago

image

I thought that /add creates a file if it doesn't exist.

But for me something is missing here.

There is a text: I'll wait for your approval to proceed
But there is no any place to put y

but I must admit that he made the format method very nicely because extracted all the data from the Document class, which is not part of the code because it is from the Spring AI package

But this is a completely different story, how to make sure that if something changes in the public library, he will know about it. For example, a new field will be added to the Document class, how will it know about its existence? Do you expect it will be possible to add code from outside the project repository to the repomap?

Aider v0.40.7-dev
Models: openrouter/anthropic/claude-3.5-sonnet with diff edit format, weak model openrouter/anthropic/claude-3-haiku
Git repo: .git with 35 files
Repo-map: using 2028 tokens

from aider.

paul-gauthier avatar paul-gauthier commented on August 16, 2024

Aider only works with the code in your repo. It can't see code outside the repo.

from aider.

ErykCh avatar ErykCh commented on August 16, 2024

Ok, I understand this.

but what about the problem that the user must accept adding a file but the question about adding a file does not appear?

from aider.

paul-gauthier avatar paul-gauthier commented on August 16, 2024

That was just the LLM talking to you, not aider itself. I think the LLM was a bit confused about the exact way aider works.

from aider.

paul-gauthier avatar paul-gauthier commented on August 16, 2024

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

from aider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.