mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-03 07:21:54 +00:00
fix(model-switch): mark bare custom provider as current
This commit is contained in:
parent
273ff5c4a4
commit
ebe0b77122
2 changed files with 5 additions and 1 deletions
|
|
@ -343,6 +343,7 @@ def test_list_authenticated_providers_bare_custom_slug_recovers(monkeypatch):
|
|||
group = matches[0]
|
||||
# Canonical slug, NOT the bare "custom" that caused #17478
|
||||
assert group["slug"] == "custom:ollama"
|
||||
assert group["is_current"] is True
|
||||
|
||||
|
||||
def test_list_authenticated_providers_distinct_endpoints_stay_separate(monkeypatch):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue