Add model_suffix argument to Qdrant tests
- Pass suffix to dimension tests - Add explicit suffix to safety tests - Test empty suffix scenario - Update collection init calls
This commit is contained in:
@@ -72,6 +72,7 @@ class TestQdrantDimensionMismatch:
|
||||
payload_m=16,
|
||||
m=0,
|
||||
),
|
||||
model_suffix="model_3072d",
|
||||
)
|
||||
|
||||
# Verify error message contains dimension information
|
||||
@@ -159,6 +160,7 @@ class TestQdrantDimensionMismatch:
|
||||
payload_m=16,
|
||||
m=0,
|
||||
),
|
||||
model_suffix="model_1536d",
|
||||
)
|
||||
|
||||
# Verify migration WAS attempted
|
||||
|
||||
@@ -64,6 +64,7 @@ class TestNoModelSuffixSafety:
|
||||
payload_m=16,
|
||||
m=0,
|
||||
),
|
||||
model_suffix="", # Empty suffix to simulate no model_name provided
|
||||
)
|
||||
|
||||
# CRITICAL: Collection should NOT be deleted
|
||||
@@ -167,6 +168,7 @@ class TestNoModelSuffixSafety:
|
||||
payload_m=16,
|
||||
m=0,
|
||||
),
|
||||
model_suffix="ada_002_1536d",
|
||||
)
|
||||
|
||||
# SHOULD delete legacy (normal Case 1 behavior)
|
||||
|
||||
Reference in New Issue
Block a user