mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
9 lines
234 B
Python
9 lines
234 B
Python
from httpx import ASGITransport, AsyncClient
|
|
|
|
from basic_memory.api.app import app as fastapi_app
|
|
|
|
BASE_URL = "memory://"
|
|
|
|
# Create shared async client
|
|
client = AsyncClient(transport=ASGITransport(app=fastapi_app), base_url=BASE_URL)
|