remove logger handler only in notebook

This commit is contained in:
Dinesh Yeduguru 2025-01-23 16:57:01 -08:00
parent ebffa15f40
commit 94474b08c0

View file

@ -129,8 +129,8 @@ class LlamaStackAsLibraryClient(LlamaStackClient):
import nest_asyncio
nest_asyncio.apply()
if not self.skip_logger_removal:
self._remove_root_logger_handlers()
if not self.skip_logger_removal:
self._remove_root_logger_handlers()
return asyncio.run(self.async_client.initialize())