The supermemory SDK already honors SUPERMEMORY_BASE_URL, but the raw urllib call used for session-end conversation ingest hardcoded https://api.supermemory.ai/v4/conversations, so ingest always hit the cloud even when pointing at a self-hosted server (e.g. http://localhost:6767). Resolve the base URL as config (supermemory.json base_url) > SUPERMEMORY_BASE_URL env var > https://api.supermemory.ai, strip any trailing slash, and use it for both the SDK client and the /v4/conversations ingest endpoint.