mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
turn off openrouter referer special case for sonnet
This commit is contained in:
parent
5b672e9bfd
commit
59ae9d9daf
1 changed files with 1 additions and 3 deletions
|
@ -14,7 +14,7 @@ from PIL import Image
|
|||
|
||||
from aider import urls
|
||||
from aider.dump import dump # noqa: F401
|
||||
from aider.llm import AIDER_APP_NAME, AIDER_SITE_URL, litellm
|
||||
from aider.llm import litellm
|
||||
|
||||
DEFAULT_MODEL_NAME = "gpt-4o"
|
||||
ANTHROPIC_BETA_HEADER = "max-tokens-3-5-sonnet-2024-07-15,prompt-caching-2024-07-31"
|
||||
|
@ -320,8 +320,6 @@ MODEL_SETTINGS = [
|
|||
max_tokens=8192,
|
||||
extra_headers={
|
||||
"anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15",
|
||||
"HTTP-Referer": AIDER_SITE_URL,
|
||||
"X-Title": AIDER_APP_NAME,
|
||||
},
|
||||
reminder="user",
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue