mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35: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
|
@ -5,18 +5,16 @@ import sys
|
|||
from pathlib import Path
|
||||
|
||||
import git
|
||||
import litellm
|
||||
import openai
|
||||
from prompt_toolkit.completion import Completion
|
||||
|
||||
from aider import models, prompts, voice
|
||||
from aider.litellm import litellm
|
||||
from aider.scrape import Scraper
|
||||
from aider.utils import is_image_file
|
||||
|
||||
from .dump import dump # noqa: F401
|
||||
|
||||
litellm.suppress_debug_info = True
|
||||
|
||||
|
||||
class SwitchModel(Exception):
|
||||
def __init__(self, model):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue