Skip to content

Commit

Permalink
replace iostream warning message with info (microsoft#2207)
Browse files Browse the repository at this point in the history
Co-authored-by: Chi Wang <[email protected]>
  • Loading branch information
davorrunje and sonichi authored Mar 30, 2024
1 parent 1900c03 commit f1472af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions autogen/io/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ def get_default() -> "IOStream":
"""
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
Expand Down

0 comments on commit f1472af

Please sign in to comment.