Skip to content

Commit 1320445

Browse files
committed
remove async_client.client, update auth console logging
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 714f2ae commit 1320445

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/basic_memory/cli/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ async def get_valid_token(self) -> str | None:
244244

245245
async def login(self) -> bool:
246246
"""Perform OAuth Device Authorization login flow."""
247-
console.print("[blue]Initiating WorkOS authentication...[/blue]")
247+
console.print("[blue]Initiating authentication...[/blue]")
248248

249249
# Step 1: Request device authorization
250250
device_response = await self.request_device_authorization()
@@ -265,7 +265,7 @@ async def login(self) -> bool:
265265
# Step 4: Save tokens
266266
self.save_tokens(tokens)
267267

268-
console.print("\n[green]✅ Successfully authenticated with WorkOS![/green]")
268+
console.print("\n[green]✅ Successfully authenticated with Basic Memory Cloud![/green]")
269269
return True
270270

271271
def logout(self) -> None:

src/basic_memory/cli/commands/status.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ async def run_status(project: Optional[str] = None, verbose: bool = False): # p
141141
raise typer.Exit(1)
142142

143143

144-
145144
@app.command()
146145
def status(
147146
project: Annotated[

src/basic_memory/mcp/async_client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,3 @@ def create_client() -> AsyncClient:
136136
return AsyncClient(
137137
transport=ASGITransport(app=fastapi_app), base_url="http://test", timeout=timeout
138138
)
139-
140-
141-
# Create shared async client (DEPRECATED - use get_client() context manager instead)
142-
client = create_client()

0 commit comments

Comments
 (0)