We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2352c8 commit 49734feCopy full SHA for 49734fe
1 file changed
utils/cli_chat_reader.py
@@ -91,7 +91,7 @@ def classify_blob_data(data: bytes) -> tuple[dict | None, list[str]]:
91
msg = json.loads(data.decode("utf-8"))
92
if isinstance(msg, dict) and "role" in msg:
93
return msg, []
94
- except (UnicodeDecodeError, json.JSONDecodeError, TypeError):
+ except (UnicodeDecodeError, json.JSONDecodeError):
95
pass
96
return None, _extract_blob_refs(data)
97
0 commit comments