After working with OpenAI API and Claude 3.7 and defining my own tools, it never knows the correct line number (even if I provide the file with line numbers).
Matching lines does not work so well because of duplicates.
Clearly this is a well-solved problem.
What is the best practice to do file updates? Does Ruby LLM handle this?