Skip to content

Commit 20ef032

Browse files
committed
fix(e2e): change PII test to use 'base-model' instead of 'MoM'
After PR #681 introduced decision-based routing, PII detection requires a decision to be selected. Using model="MoM" triggers domain classification, but PII test data is domain-agnostic, so no domain matches, no decision is selected, and PII detection gets disabled. Solution: Use model="base-model" directly which matches all decisions in the CRD. This ensures a decision is selected and PII detection is enabled. This still tests LoRA PII auto-detection as configured in the classifier settings, but ensures the decision-based PII plugin is activated. Signed-off-by: Yossi Ovadia <[email protected]>
1 parent 76db897 commit 20ef032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/testcases/pii_detection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func testSinglePIIDetection(ctx context.Context, testCase PIITestCase, localPort
135135

136136
// Create chat completion request
137137
requestBody := map[string]interface{}{
138-
"model": "MoM",
138+
"model": "general-expert",
139139
"messages": []map[string]string{
140140
{"role": "user", "content": testCase.Question},
141141
},

0 commit comments

Comments
 (0)