mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: use constants from llm.py in models.py
This commit is contained in:
parent
efc71a0e83
commit
f16564994f
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ from PIL import Image
|
||||||
|
|
||||||
from aider import urls
|
from aider import urls
|
||||||
from aider.dump import dump # noqa: F401
|
from aider.dump import dump # noqa: F401
|
||||||
from aider.llm import litellm
|
from aider.llm import litellm, AIDER_SITE_URL, AIDER_APP_NAME
|
||||||
|
|
||||||
DEFAULT_MODEL_NAME = "gpt-4o"
|
DEFAULT_MODEL_NAME = "gpt-4o"
|
||||||
|
|
||||||
|
@ -285,8 +285,8 @@ MODEL_SETTINGS = [
|
||||||
max_tokens=8192,
|
max_tokens=8192,
|
||||||
extra_headers={
|
extra_headers={
|
||||||
"anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15",
|
"anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15",
|
||||||
"HTTP-Referer": "https://aider.chat",
|
"HTTP-Referer": AIDER_SITE_URL,
|
||||||
"X-Title": "Aider",
|
"X-Title": AIDER_APP_NAME,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
ModelSettings(
|
ModelSettings(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue