mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
feat: add model metadata for Claude 3.5 Sonnet
This commit is contained in:
parent
949b50bd69
commit
914bf3d82b
2 changed files with 21 additions and 0 deletions
3
aider/resources/__init__.py
Normal file
3
aider/resources/__init__.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
# This ensures that importlib_resources.files("aider.resources")
|
||||
# doesn't raise ImportError, even if there are no other files in this
|
||||
# dir.
|
18
aider/resources/model-metadata.json
Normal file
18
aider/resources/model-metadata.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"anthropic/claude-3-5-sonnet-20241022": {
|
||||
"max_tokens": 8192,
|
||||
"max_input_tokens": 200000,
|
||||
"max_output_tokens": 8192,
|
||||
"input_cost_per_token": 0.000003,
|
||||
"output_cost_per_token": 0.000015,
|
||||
"cache_creation_input_token_cost": 0.00000375,
|
||||
"cache_read_input_token_cost": 0.0000003,
|
||||
"litellm_provider": "anthropic",
|
||||
"mode": "chat",
|
||||
"supports_function_calling": true,
|
||||
"supports_vision": true,
|
||||
"tool_use_system_prompt_tokens": 159,
|
||||
"supports_assistant_prefill": true,
|
||||
"supports_prompt_caching": true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue