Download models/__init__.py from dakl45646/sd: direct link, hf CLI and curl.
- Browser
- Download file 649 Bytes
-
https://huggingface.co/spaces/dakl45646/sd/resolve/main/models/__init__.py
- Command line
-
hf download hf://spaces/dakl45646/sd/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/dakl45646/sd/resolve/main/models/__init__.py
649 Bytes
| # 聊天相关模型 | |
| from .chat import ( | |
| FunctionCall, | |
| ToolCall, | |
| MessageContentItem, | |
| Message, | |
| ChatCompletionRequest | |
| ) | |
| # 异常类 | |
| from .exceptions import ClientDisconnectedError | |
| # 日志工具类 | |
| from .logging import ( | |
| StreamToLogger, | |
| WebSocketConnectionManager, | |
| WebSocketLogHandler | |
| ) | |
| __all__ = [ | |
| # 聊天模型 | |
| 'FunctionCall', | |
| 'ToolCall', | |
| 'MessageContentItem', | |
| 'Message', | |
| 'ChatCompletionRequest', | |
| # 异常 | |
| 'ClientDisconnectedError', | |
| # 日志工具 | |
| 'StreamToLogger', | |
| 'WebSocketConnectionManager', | |
| 'WebSocketLogHandler' | |
| ] |