feat: Add circuit breaker for file sync failures (#364) · basicmachines-co/basic-memory@434cdf2 · GitHub
Skip to content

Commit 434cdf2

Browse files
phernandezclaude
andauthored
feat: Add circuit breaker for file sync failures (#364)
Signed-off-by: phernandez <paul@basicmachines.co> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7f9c1a9 commit 434cdf2

5 files changed

Lines changed: 495 additions & 13 deletions

File tree

src/basic_memory/cli/commands/status.py

Lines changed: 16 additions & 1 deletion

src/basic_memory/importers/claude_conversations_importer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ def _format_chat_markdown(
155155
if msg.get("content"):
156156
# Filter out None values before joining
157157
content = " ".join(
158-
str(c.get("text", "")) for c in msg["content"]
158+
str(c.get("text", ""))
159+
for c in msg["content"]
159160
if c and c.get("text") is not None
160161
)
161162
lines.append(content)

src/basic_memory/schemas/sync_report.py

Lines changed: 25 additions & 1 deletion

0 commit comments

Comments
 (0)