5 lines
236 B
Python
5 lines
236 B
Python
import json, sys
|
|
line = sys.stdin.read().strip()
|
|
d = json.loads(line)
|
|
llm = d.get('llm_provider', {})
|
|
print(d['timestamp'], '| status:', d['status'], '| llm:', llm.get('status', '?'), '| best:', d.get('best_key', {}).get('key_id', '?')) |