mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
Simplify the message items schema by using additionalProperties instead of explicit properties, while preserving type info for LLM docs. Note: 12 ty diagnostics remain in send_message.py and astr_main_agent_resources.py due to architectural issue where FunctionTool.parameters JSON Schema is used by ty for Python type inference. This requires larger refactoring to fix properly.
19 lines
359 B
Python
19 lines
359 B
Python
"""AstrBot TUI - Terminal User Interface for AstrBot."""
|
|
|
|
from astrbot.tui.message_handler import (
|
|
ChatResponse,
|
|
MessageType,
|
|
ParsedMessage,
|
|
SSEMessageParser,
|
|
)
|
|
from astrbot.tui.screen import Screen, run_curses
|
|
|
|
__all__ = [
|
|
"ChatResponse",
|
|
"MessageType",
|
|
"ParsedMessage",
|
|
"SSEMessageParser",
|
|
"Screen",
|
|
"run_curses",
|
|
]
|