Handle percentage as int (#22370)

This commit is contained in:
Nicolas Mowen
2026-03-10 07:35:00 -06:00
committed by GitHub
parent 5254bfd00e
commit a0b8271532
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,6 @@ class ReviewMetadata(BaseModel):
)
confidence: float = Field(
ge=0.0,
le=1.0,
description="Confidence in the analysis, from 0 to 1.",
)
potential_threat_level: int = Field(