mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
5a46321a046f1160b5dfb6ce267792d78a881b29
- Introduced a dictionary to map tool call IDs to tool names for better clarity and efficiency. - Enhanced the extraction of tool call information from raw results, ensuring compatibility with both dictionary and object formats. - Updated the logic to retrieve tool names based on tool call IDs, improving the robustness of the tool calls result processing.
AstrBot SDK
AstrBot 插件开发 SDK,提供 v4 runtime、worker protocol 和插件工具链。
安装
pip install astrbot-sdk
开发安装
# 克隆仓库后
pip install -e .
# 或使用 uv
uv sync
目录结构
astrbot-sdk/
├── src/
│ └── astrbot_sdk/ # SDK 主包
├── pyproject.toml
└── README.md
Languages
Python
61.2%
Vue
19.5%
JavaScript
13.6%
TypeScript
4.8%
HTML
0.3%
Other
0.6%