mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25: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
|
@ -11,7 +11,6 @@ from json.decoder import JSONDecodeError
|
|||
from pathlib import Path
|
||||
|
||||
import git
|
||||
import litellm
|
||||
import openai
|
||||
from jsonschema import Draft7Validator
|
||||
from rich.console import Console, Text
|
||||
|
@ -21,6 +20,7 @@ from aider import __version__, models, prompts, utils
|
|||
from aider.commands import Commands
|
||||
from aider.history import ChatSummary
|
||||
from aider.io import InputOutput
|
||||
from aider.litellm import litellm
|
||||
from aider.mdstream import MarkdownStream
|
||||
from aider.repo import GitRepo
|
||||
from aider.repomap import RepoMap
|
||||
|
@ -29,8 +29,6 @@ from aider.utils import is_image_file
|
|||
|
||||
from ..dump import dump # noqa: F401
|
||||
|
||||
litellm.suppress_debug_info = True
|
||||
|
||||
|
||||
class MissingAPIKeyError(ValueError):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue