16 lines
600 B
Python
16 lines
600 B
Python
# Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
|
|
# SPDX-License-Identifier: MIT
|
|
from .base import IOStream, InputStream, OutputStream
|
|
from .console import IOConsole
|
|
from .websockets import IOWebsockets
|
|
|
|
# Set the default input/output stream to the console
|
|
IOStream.set_global_default(IOConsole())
|
|
IOStream.set_default(IOConsole())
|
|
|
|
__all__ = ("IOConsole", "IOStream", "IOWebsockets", "InputStream", "OutputStream")
|