Skip to content

Commit d2055f3

Browse files
committed
don't pass force_full=true by default
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 9738267 commit d2055f3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/basic_memory/cli/commands/cloud/cloud_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ async def sync_project(project_name: str, force_full: bool = False) -> None:
116116
117117
Args:
118118
project_name: Name of project to sync
119-
force_full: If True, force a full scan bypassing watermark optimization
119+
force_full: ignored, kept for backwards compatibility
120120
"""
121121
try:
122122
from basic_memory.cli.commands.command_utils import run_sync
123123

124-
await run_sync(project=project_name, force_full=force_full)
124+
await run_sync(project=project_name)
125125
except Exception as e:
126126
raise CloudUtilsError(f"Failed to sync project '{project_name}': {e}") from e
127127

src/basic_memory/cli/commands/cloud/upload_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async def _upload():
142142
if sync and not dry_run:
143143
console.print(f"[blue]Syncing project '{project}'...[/blue]")
144144
try:
145-
await sync_project(project, force_full=True)
145+
await sync_project(project)
146146
except Exception as e:
147147
console.print(f"[yellow]Warning: Sync failed: {e}[/yellow]")
148148
console.print("[dim]Files uploaded but may not be indexed yet[/dim]")

src/basic_memory/cli/commands/doctor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def run_doctor() -> None:
101101
console.print("[green]OK[/green] Manual file written")
102102

103103
sync_data = await project_client.sync(
104-
project_id, force_full=True, run_in_background=False
104+
project_id, force_full=False, run_in_background=False
105105
)
106106
sync_report = SyncReportResponse.model_validate(sync_data)
107107
if sync_report.total == 0:

0 commit comments

Comments
 (0)