@@ -236,26 +236,11 @@ def orchestrator_config_gpu(
236236 pytestconfig : pytest .Config ,
237237) -> Generator [ConfigMap , Any , Any ]:
238238 """
239- Fixture for creating and managing the Guardrails Orchestrator ConfigMap.
240-
241- This fixture dynamically generates the orchestrator configuration used in tests,
242- including detector setup and OpenAI/vLLM integration. It supports both built-in
243- detectors and external HuggingFace-based detectors depending on test parameters.
244-
245- Args:
246- request: Pytest request object used to access parametrization
247- admin_client: Kubernetes client for resource management
248- model_namespace: Namespace where resources are deployed
249- teardown_resources: Whether to clean up resources after test execution
250- pytestconfig: Pytest configuration (used for post-upgrade handling)
251-
252- Returns:
253- Generator[ConfigMap, Any, Any]: ConfigMap containing orchestrator configuration
254-
255- Behavior:
256- - Reuses existing ConfigMap in post-upgrade scenarios
257- - Uses built-in detectors if `use_builtin_detectors` is set
258- - Otherwise configures external detectors (e.g., prompt injection, HAP)
239+ Creates the Guardrails Orchestrator ConfigMap for tests.
240+
241+ Builds configuration dynamically based on test parameters, supporting either
242+ built-in detectors or external detector services. Reuses existing ConfigMap
243+ during post-upgrade scenarios.
259244 """
260245 if pytestconfig .option .post_upgrade :
261246 cm = ConfigMap (
0 commit comments