Skip to content

Commit 563780a

Browse files
committed
tix test
1 parent 6526c75 commit 563780a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/core/test_base_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,13 @@ def test_build_base_url_normalized(self, agenthub_env_vars, normalized_api_confi
433433
)
434434
assert "agenthub_/llm/api/chat/completions" in url
435435

436-
def test_build_auth_headers_empty_by_default(self, agenthub_env_vars):
437-
"""Test build_auth_headers returns empty dict by default."""
436+
def test_build_auth_headers_has_default_config(self, agenthub_env_vars):
437+
"""Test build_auth_headers includes default agenthub_config."""
438438
with patch.dict(os.environ, agenthub_env_vars, clear=True):
439439
with patch("uipath_llm_client.settings.agenthub.settings.AuthService"):
440440
settings = AgentHubSettings()
441441
headers = settings.build_auth_headers()
442-
assert headers == {}
442+
assert headers == {"X-UiPath-AgentHub-Config": "agentsruntime"}
443443

444444
def test_build_auth_headers_with_tracing(self, agenthub_env_vars):
445445
"""Test build_auth_headers includes tracing headers when set."""

0 commit comments

Comments
 (0)