auto-sync: 2026-05-26 23:28:54
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -180,7 +180,7 @@ def parse_v3_jsonl(filepath: str) -> list:
|
|||||||
continue
|
continue
|
||||||
msg = obj.get('message', {})
|
msg = obj.get('message', {})
|
||||||
role = msg.get('role', '')
|
role = msg.get('role', '')
|
||||||
if role not in ('user', 'assistant'):
|
if role not in ('user', 'assistant', 'toolResult'):
|
||||||
continue
|
continue
|
||||||
content = msg.get('content', '')
|
content = msg.get('content', '')
|
||||||
text = extract_text_from_content(content)
|
text = extract_text_from_content(content)
|
||||||
|
|||||||
Reference in New Issue
Block a user