mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
refactor: simplify litellm exception imports
This commit is contained in:
parent
e2dff0a74b
commit
bf63e7045b
2 changed files with 15 additions and 16 deletions
|
@ -10,7 +10,7 @@ from aider.sendchat import simple_send_with_retries
|
|||
class PrintCalled(Exception):
|
||||
pass
|
||||
|
||||
|
||||
#ai add a test that simply invokes retry_exceptions() and ensures no error raised!
|
||||
class TestSendChat(unittest.TestCase):
|
||||
@patch("litellm.completion")
|
||||
@patch("builtins.print")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue