forked from phoenix-oss/llama-stack-mirror
remove logger handler only in notebook (#868)
remove logger handler only in notebook
This commit is contained in:
parent
ebffa15f40
commit
cb11336886
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue