mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
test(model): isolate custom-provider grouping tests from live discovery
This commit is contained in:
parent
76fca0b4b3
commit
7ed18dae90
1 changed files with 3 additions and 0 deletions
|
|
@ -664,6 +664,7 @@ def test_list_authenticated_providers_groups_same_endpoint(monkeypatch):
|
|||
"api_key": "ollama", "model": "qwen3-coder"},
|
||||
],
|
||||
max_models=50,
|
||||
probe_custom_providers=False,
|
||||
)
|
||||
|
||||
custom_groups = [p for p in providers if p.get("is_user_defined")]
|
||||
|
|
@ -748,6 +749,7 @@ def test_list_authenticated_providers_distinct_endpoints_stay_separate(monkeypat
|
|||
"api_key": "ollama", "model": "qwen3-coder"},
|
||||
],
|
||||
max_models=50,
|
||||
probe_custom_providers=False,
|
||||
)
|
||||
|
||||
custom_groups = [p for p in providers if p.get("is_user_defined")]
|
||||
|
|
@ -841,6 +843,7 @@ def test_list_authenticated_providers_total_models_reflects_grouped_count(monkey
|
|||
user_providers={},
|
||||
custom_providers=entries,
|
||||
max_models=4,
|
||||
probe_custom_providers=False,
|
||||
)
|
||||
|
||||
groups = [p for p in providers if p.get("is_user_defined")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue