mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
The flag step never read it: parseVerdict destructures duplicate_of, confidence and evidence only, so considered cost tokens on every issue and went straight on the floor. The parse test now covers extra keys being dropped instead of asserting a field that no longer exists.
20 lines
525 B
JSON
20 lines
525 B
JSON
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["duplicate_of", "confidence", "evidence"],
|
|
"properties": {
|
|
"duplicate_of": {
|
|
"type": ["integer", "null"],
|
|
"description": "Issue number of the earlier report this duplicates, or null."
|
|
},
|
|
"confidence": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 1
|
|
},
|
|
"evidence": {
|
|
"type": "string",
|
|
"description": "One sentence naming the shared root cause and symptom, or why nothing matched."
|
|
}
|
|
}
|
|
}
|