mirror of
https://github.com/microsoft/autogen.git
synced 2026-01-25 23:48:48 -05:00
replace iostream warning message with info (#2207)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
@@ -76,8 +76,10 @@ class IOStream(InputStream, OutputStream, Protocol):
|
||||
"""
|
||||
iostream = IOStream._default_io_stream.get()
|
||||
if iostream is None:
|
||||
logger.warning("No default IOStream has been set, defaulting to IOConsole.")
|
||||
return IOStream.get_global_default()
|
||||
logger.info("No default IOStream has been set, defaulting to IOConsole.")
|
||||
iostream = IOStream.get_global_default()
|
||||
# Set the default IOStream of the current context (thread/cooroutine)
|
||||
IOStream.set_default(iostream)
|
||||
return iostream
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user