mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
fix: Update expected OpenRouter costs in tests
This commit is contained in:
parent
48376e59c2
commit
e331a967a6
1 changed files with 4 additions and 4 deletions
|
@ -39,8 +39,8 @@ def test_openrouter_get_model_info_from_cache(monkeypatch, tmp_path):
|
||||||
info = manager.get_model_info("openrouter/mistralai/mistral-medium-3")
|
info = manager.get_model_info("openrouter/mistralai/mistral-medium-3")
|
||||||
|
|
||||||
assert info["max_input_tokens"] == 32768
|
assert info["max_input_tokens"] == 32768
|
||||||
assert info["input_cost_per_token"] == 0.0001
|
assert info["input_cost_per_token"] == 100.0
|
||||||
assert info["output_cost_per_token"] == 0.0002
|
assert info["output_cost_per_token"] == 200.0
|
||||||
assert info["litellm_provider"] == "openrouter"
|
assert info["litellm_provider"] == "openrouter"
|
||||||
|
|
||||||
|
|
||||||
|
@ -56,8 +56,8 @@ def test_model_info_manager_uses_openrouter_manager(monkeypatch):
|
||||||
"max_input_tokens": 512,
|
"max_input_tokens": 512,
|
||||||
"max_tokens": 512,
|
"max_tokens": 512,
|
||||||
"max_output_tokens": 512,
|
"max_output_tokens": 512,
|
||||||
"input_cost_per_token": 0.0001,
|
"input_cost_per_token": 100.0,
|
||||||
"output_cost_per_token": 0.0002,
|
"output_cost_per_token": 200.0,
|
||||||
"litellm_provider": "openrouter",
|
"litellm_provider": "openrouter",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue