feat: add infrastructure automation scripts and master improvement plan
This commit is contained in:
21
scripts/print_after_poweron.py
Normal file
21
scripts/print_after_poweron.py
Normal file
@@ -0,0 +1,21 @@
|
||||
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(3108, 3140):
|
||||
try:
|
||||
d = json.loads(lines[i])
|
||||
c = d.get('content', '')
|
||||
if d.get('type') == 'PLANNER_RESPONSE' and not d.get('tool_calls'):
|
||||
print(f"=== LINE {i} MODEL ===")
|
||||
print(c)
|
||||
elif d.get('type') == 'USER_INPUT':
|
||||
print(f"=== LINE {i} USER ===")
|
||||
print(c)
|
||||
elif d.get('type') == 'GENERIC':
|
||||
print(f"=== LINE {i} GENERIC ===")
|
||||
print(c[:300])
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user