feat: add infrastructure automation scripts and master improvement plan
This commit is contained in:
18
scripts/read_older_history.py
Normal file
18
scripts/read_older_history.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import json
|
||||
|
||||
with open(r'C:\Users\Snarf\.gemini\antigravity\brain\c8df04ce-d189-4dab-a6fd-28b36b11fa87\.system_generated\logs\transcript.jsonl', 'r', encoding='utf-8') as f:
|
||||
lines = f.readlines()
|
||||
|
||||
for i in range(3200, min(3370, len(lines))):
|
||||
try:
|
||||
data = json.loads(lines[i])
|
||||
t = data.get('type')
|
||||
if t == 'USER_INPUT':
|
||||
print(f"[{i}] USER: {data.get('content')}")
|
||||
elif t == 'PLANNER_RESPONSE' and not data.get('tool_calls'):
|
||||
c = data.get('content', '')
|
||||
if 'option' in c.lower() or '.21' in c.lower():
|
||||
print(f"[{i}] MODEL: {c[:400]}...\n")
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user