public interface LocalGenerationObserver
Cooperative observer for local, text-only generation on the calling thread. Callbacks must not invoke the provider recursively or mutate GUI widgets from an inference worker. Publish snapshots through a mutex instead. Example: response = provider.completeStreaming(request, observer).