reset static method

void reset()

Reset ServiceRegistry (primarily for testing)

Nulls the DI singleton WITHOUT closing the active vector store. Prefer dispose when a real store is live (e.g. switching RAG backends at runtime) so its native handle is released; reset alone would leak it.

Implementation

static void reset() {
  ServiceRegistry.reset();
}