mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 13:15:00 +00:00
refactor: Remove debug logging and simplify model data retrieval
This commit is contained in:
parent
3e36f27987
commit
7fe7dd743c
2 changed files with 4 additions and 6 deletions
|
@ -15,14 +15,13 @@ os.environ["LITELLM_MODE"] = "PRODUCTION"
|
|||
|
||||
# `import litellm` takes 1.5 seconds, defer it!
|
||||
|
||||
VERBOSE = True
|
||||
VERBOSE = False
|
||||
|
||||
|
||||
class LazyLiteLLM:
|
||||
_lazy_module = None
|
||||
|
||||
def __getattr__(self, name):
|
||||
dump(name)
|
||||
if name == "_lazy_module":
|
||||
return super()
|
||||
self._load_litellm()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue