mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
refactored litellm to avoid duplicating workarounds
This commit is contained in:
parent
b249177119
commit
9ff6770a04
6 changed files with 7 additions and 20 deletions
|
@ -3,9 +3,10 @@ import queue
|
|||
import tempfile
|
||||
import time
|
||||
|
||||
import litellm
|
||||
import numpy as np
|
||||
|
||||
from aider.litellm import litellm
|
||||
|
||||
try:
|
||||
import soundfile as sf
|
||||
except (OSError, ModuleNotFoundError):
|
||||
|
@ -15,8 +16,6 @@ from prompt_toolkit.shortcuts import prompt
|
|||
|
||||
from .dump import dump # noqa: F401
|
||||
|
||||
litellm.suppress_debug_info = True
|
||||
|
||||
|
||||
class SoundDeviceError(Exception):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue