mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
refactor: Refactor "https://aider.chat" and "Aider" into constants in llm.py
This commit is contained in:
parent
0e60dfe5f4
commit
efc71a0e83
1 changed files with 5 additions and 2 deletions
|
@ -4,8 +4,11 @@ import warnings
|
|||
|
||||
warnings.filterwarnings("ignore", category=UserWarning, module="pydantic")
|
||||
|
||||
os.environ["OR_SITE_URL"] = "http://aider.chat"
|
||||
os.environ["OR_APP_NAME"] = "Aider"
|
||||
AIDER_SITE_URL = "https://aider.chat"
|
||||
AIDER_APP_NAME = "Aider"
|
||||
|
||||
os.environ["OR_SITE_URL"] = AIDER_SITE_URL
|
||||
os.environ["OR_APP_NAME"] = AIDER_APP_NAME
|
||||
|
||||
# `import litellm` takes 1.5 seconds, defer it!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue