paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
18.82k stars 1.74k forks source link

Bug report - adding new code only resulted in empty source file #1573

Open solcompu opened 4 days ago

solcompu commented 4 days ago

Certainly! I'll write all the new functions for handling the RLog* tables in a new file. Here's the SEARCH/REPLACE block to create this new file: Tis01\RLogFunctions.prg

<<<<<<< SEARCH //all code

REPLACE

no end search and no start replace

Aider version: 0.56.0 Python version: 3.12.0 Platform: Windows-10-10.0.19045-SP0 Python implementation: CPython Virtual environment: Yes OS: Windows 10 (64bit) Git version: git version 2.40.0.windows.1

Aider v0.56.0 Main model: openrouter/anthropic/claude-3.5-sonnet with diff edit format, prompt cache, infinite output Weak model: openrouter/anthropic/claude-3-haiku-20240307 Git repo: .git with 168 files Repo-map: using 1024 tokens, files refresh Added Tis01\DATADEFS.PRG to the chat. Added Tis01\TisReg.prg to the chat.

paul-gauthier commented 16 hours ago

Thanks for trying aider and filing this issue. This doc may be helpful:

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