Spaces:
Runtime error
Runtime error
Download chat_agent/websocket/__init__.py from WebashalarForML/scratch_chat: direct link, hf CLI and curl.
- Browser
- Download file 919 Bytes
-
https://huggingface.co/spaces/WebashalarForML/scratch_chat/resolve/main/chat_agent/websocket/__init__.py
- Command line
-
hf download hf://spaces/WebashalarForML/scratch_chat/chat_agent/websocket/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/WebashalarForML/scratch_chat/resolve/main/chat_agent/websocket/__init__.py
919 Bytes
| """ | |
| WebSocket communication layer for the multi-language chat agent. | |
| This package provides real-time WebSocket communication capabilities including | |
| message handling, language switching, typing indicators, and connection management. | |
| """ | |
| from .chat_websocket import ChatWebSocketHandler, create_chat_websocket_handler | |
| from .message_validator import MessageValidator, create_message_validator | |
| from .connection_manager import ConnectionManager, create_connection_manager | |
| from .events import register_websocket_events | |
| from .websocket_init import initialize_websocket_handlers, create_websocket_services | |
| __all__ = [ | |
| 'ChatWebSocketHandler', | |
| 'create_chat_websocket_handler', | |
| 'MessageValidator', | |
| 'create_message_validator', | |
| 'ConnectionManager', | |
| 'create_connection_manager', | |
| 'register_websocket_events', | |
| 'initialize_websocket_handlers', | |
| 'create_websocket_services' | |
| ] |