mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-16 19:36:54 +00:00
Change-detectors, tautologies, source-reading tests, redundant duplicates, mock-echo tests and dead/unrunnable tests. Per-test rationale in the lane ledger (category + reason for every removal).
11 lines
373 B
Python
11 lines
373 B
Python
"""Regression tests for xAI provider label disambiguation."""
|
|
|
|
from hermes_cli.providers import get_label
|
|
|
|
|
|
def test_xai_oauth_provider_label_is_not_collapsed_to_api_key_label():
|
|
"""The model picker must distinguish xAI API-key and OAuth providers."""
|
|
assert get_label("xai-oauth") != get_label("xai")
|
|
assert get_label("grok-oauth") == get_label("xai-oauth")
|
|
|
|
|