diff --git a/agent/auxiliary_client.py b/agent/auxiliary_client.py index 7b53566a927..da69f040bb1 100644 --- a/agent/auxiliary_client.py +++ b/agent/auxiliary_client.py @@ -382,7 +382,7 @@ _AI_GATEWAY_HEADERS = { # Nous Portal extra_body for product attribution. # Callers should pass this as extra_body in chat.completions.create() # when the auxiliary client is backed by Nous Portal. -NOUS_EXTRA_BODY = {"tags": ["product=hermes-agent"]} +NOUS_EXTRA_BODY = {"tags": ["product=hermes-agent", "client=aux"]} # Set at resolve time — True if the auxiliary client points to Nous Portal auxiliary_is_nous: bool = False @@ -4026,7 +4026,7 @@ def _build_call_kwargs( # Provider-specific extra_body merged_extra = dict(extra_body or {}) if provider == "nous" or auxiliary_is_nous: - merged_extra.setdefault("tags", []).extend(["product=hermes-agent"]) + merged_extra.setdefault("tags", []).extend(NOUS_EXTRA_BODY["tags"]) if merged_extra: kwargs["extra_body"] = merged_extra