diff --git a/litellm/types/proxy/guardrails/guardrail_hooks/conduct.py b/litellm/types/proxy/guardrails/guardrail_hooks/conduct.py index 3c541e289e1..042e313d770 100644 --- a/litellm/types/proxy/guardrails/guardrail_hooks/conduct.py +++ b/litellm/types/proxy/guardrails/guardrail_hooks/conduct.py @@ -16,7 +16,10 @@ class ConductGuardrailConfigModelOptionalParams(LiteLLMBaseModel): ) tool_name: str | None = Field( default="llm_call", - description="Conduct tool name the prompt is evaluated under. Match the tool your rules target.", + description=( + "Accepted for backward compatibility and ignored. " + "Prompts are evaluated against the workspace's prompt rules." + ), ) timeout: float | None = Field( default=8.0, @@ -35,7 +38,7 @@ class ConductGuardrailConfigModel(GuardrailConfigModel[ConductGuardrailConfigMod description="Conduct agent token. Env: CONDUCT_AGENT_TOKEN.", ) api_base: str | None = Field( - default="https://api.conductai.ai", + default="https://gateway.conductai.ai", description="Conduct API base URL. The MCP endpoint is derived as /mcp.", ) diff --git a/tests/unit/proxy/guardrails/guardrail_hooks/test_conduct.py b/tests/unit/proxy/guardrails/guardrail_hooks/test_conduct.py index a7c777248c0..c3bdc54851f 100644 --- a/tests/unit/proxy/guardrails/guardrail_hooks/test_conduct.py +++ b/tests/unit/proxy/guardrails/guardrail_hooks/test_conduct.py @@ -193,7 +193,7 @@ async def test_ui_offers_conduct_fields_without_the_package() -> None: assert fields["ui_friendly_name"] == "Conduct Guard" assert fields["api_key"]["required"] is True - assert fields["api_base"]["default_value"] == "https://api.conductai.ai" + assert fields["api_base"]["default_value"] == "https://gateway.conductai.ai" optional: Final = fields["optional_params"]["fields"] assert set(optional) == {"workspace_id", "tool_name", "timeout", "unreachable_fallback"} assert optional["unreachable_fallback"]["type"] == "select"