Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion gateway/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,10 @@ def load_transcript(self, session_id: str) -> List[Dict[str, Any]]:
for line in f:
line = line.strip()
if line:
messages.append(json.loads(line))
try:
messages.append(json.loads(line))
except json.JSONDecodeError:
continue

return messages

Expand Down
Loading