aider/tests
Derrick Hammer (aider) 40b75bc57f feat(coder): Handle LLM response interruption
Introduce a mechanism to cleanly interrupt the LLM's streaming response, particularly useful for GUI or non-terminal interfaces.

- Add `AiderAbortException` to signal interruption from the IO layer.
- Implement `io.is_interrupted()` as a check within the streaming loop (`show_send_output_stream`).
- Update `send_message` to catch `AiderAbortException` and `KeyboardInterrupt`.
- Ensure partial response content is captured and marked as "(interrupted)" in the message history upon interruption.
- Skip post-processing steps (applying edits, running tests/lint, etc.) if the response was interrupted.
- Add tests for the new interruption handling logic.
2025-05-19 04:51:36 -04:00
..
basic feat(coder): Handle LLM response interruption 2025-05-19 04:51:36 -04:00
browser fix: add missing os import in test_browser.py 2024-12-02 17:56:50 -08:00
fixtures Revert "chore: Add test comment" 2025-04-12 18:14:08 +03:00
help style: Reformat code to comply with linter rules 2025-03-21 11:25:13 -07:00
scrape style: Address flake8 errors 2025-05-08 15:15:17 -07:00
__init__.py do not package tests/ 2024-07-15 08:40:32 +01:00