We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e900d commit bad31c0Copy full SHA for bad31c0
1 file changed
scripts/response_regeneration/script.py
@@ -115,8 +115,8 @@ def load_seen(path: str):
115
obj = json.loads(line)
116
except json.JSONDecodeError:
117
continue
118
- # Match the actual output format: "id" field and "idx" in metadata
119
- key = obj.get("id") or obj.get("metadata", {}).get("idx")
+ # Match the actual output format: "id" field
+ key = obj.get("id")
120
if key is not None:
121
seen.add(str(key))
122
return seen
0 commit comments