Files
kis_trader/scratch/check_history.py

16 lines
754 B
Python

import json
with open('/home/hoon/.gemini/antigravity-ide/brain/e07d5342-58aa-4443-a5b3-73bde0f593dd/.system_generated/logs/transcript.jsonl', 'r') as f:
for line in f:
try:
data = json.loads(line)
except:
continue
if 'trigger_eval_collect' in line and data.get('type') == 'PLANNER_RESPONSE':
for call in data.get('tool_calls', []):
if call.get('name') in ('multi_replace_file_content', 'replace_file_content'):
args = call.get('args', {})
if 'trigger_eval_collect.py' in str(args):
print(f"Step {data.get('step_index')}: modified trigger_eval_collect")
print(args.get('Instruction'))