AstrBot 4.5.2__py3-none-any.whl → 4.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- astrbot/core/config/default.py +1 -1
- astrbot/dashboard/routes/tools.py +9 -1
- {astrbot-4.5.2.dist-info → astrbot-4.5.3.dist-info}/METADATA +1 -1
- {astrbot-4.5.2.dist-info → astrbot-4.5.3.dist-info}/RECORD +7 -7
- {astrbot-4.5.2.dist-info → astrbot-4.5.3.dist-info}/WHEEL +0 -0
- {astrbot-4.5.2.dist-info → astrbot-4.5.3.dist-info}/entry_points.txt +0 -0
- {astrbot-4.5.2.dist-info → astrbot-4.5.3.dist-info}/licenses/LICENSE +0 -0
astrbot/core/config/default.py
CHANGED
|
@@ -296,7 +296,15 @@ class ToolsRoute(Route):
|
|
|
296
296
|
"""获取所有注册的工具列表"""
|
|
297
297
|
try:
|
|
298
298
|
tools = self.tool_mgr.func_list
|
|
299
|
-
tools_dict = [
|
|
299
|
+
tools_dict = [
|
|
300
|
+
{
|
|
301
|
+
"name": tool.name,
|
|
302
|
+
"description": tool.description,
|
|
303
|
+
"parameters": tool.parameters,
|
|
304
|
+
"active": tool.active,
|
|
305
|
+
}
|
|
306
|
+
for tool in tools
|
|
307
|
+
]
|
|
300
308
|
return Response().ok(data=tools_dict).__dict__
|
|
301
309
|
except Exception as e:
|
|
302
310
|
logger.error(traceback.format_exc())
|
|
@@ -47,7 +47,7 @@ astrbot/core/agent/runners/base.py,sha256=5vDgK676B_39yTHfbWS324e9z4R8E5w4Q9HqqH
|
|
|
47
47
|
astrbot/core/agent/runners/tool_loop_agent_runner.py,sha256=EjYPCImSv7bVRkN6ljS3qOS_yd37HoAUVz7cEQlutG0,14915
|
|
48
48
|
astrbot/core/config/__init__.py,sha256=vZjtpC7vr-IvBgSUtbS04C0wpulmCG5tPmcEP1WYE_4,172
|
|
49
49
|
astrbot/core/config/astrbot_config.py,sha256=nGyvHyR9VJH9Pk0XKYyeDFVxjwbyVb9u0lIsuvpe3fg,6276
|
|
50
|
-
astrbot/core/config/default.py,sha256=
|
|
50
|
+
astrbot/core/config/default.py,sha256=MLApxqW-zrmRPZFQ10Tas2jPk4uGwVBDe9UWShKQxiQ,133409
|
|
51
51
|
astrbot/core/db/__init__.py,sha256=XA1ootJl_SoMHG6sNUWNR5nj663JHvNF--WEM-hfd1o,8965
|
|
52
52
|
astrbot/core/db/po.py,sha256=jLrmhbtqbnjZ1r7sS0WO6SZIubZr1FH04qmD64N4Y50,7845
|
|
53
53
|
astrbot/core/db/sqlite.py,sha256=H7DOQDktJ3gRFwK0H9TFb3miJqnpx5pRFjwdTETWhWo,26520
|
|
@@ -252,10 +252,10 @@ astrbot/dashboard/routes/session_management.py,sha256=gb3fiGFFEu5RU3Yedh1hsSfPLP
|
|
|
252
252
|
astrbot/dashboard/routes/stat.py,sha256=OgNM491WFuDSAQbbJUGl4_UsqrQNefOGMMRIPLLoVBQ,6780
|
|
253
253
|
astrbot/dashboard/routes/static_file.py,sha256=7KnNcOb1BVqSTft114LhGsDkfg69X2jHEm0tOK0kW0Y,1169
|
|
254
254
|
astrbot/dashboard/routes/t2i.py,sha256=F6smxdL99MF7cRw3hqS6-2GErw8Zhsv0V0mfBUeEk-c,8931
|
|
255
|
-
astrbot/dashboard/routes/tools.py,sha256=
|
|
255
|
+
astrbot/dashboard/routes/tools.py,sha256=YsVFrwVIhxAI-Ikme7YPrHVnPVTkJ1IaH7n6ciREjdE,14663
|
|
256
256
|
astrbot/dashboard/routes/update.py,sha256=qXiqQ_dbqRVftOzGgCQrvK8-qopVK6zKhhVVJ9SK26U,6648
|
|
257
|
-
astrbot-4.5.
|
|
258
|
-
astrbot-4.5.
|
|
259
|
-
astrbot-4.5.
|
|
260
|
-
astrbot-4.5.
|
|
261
|
-
astrbot-4.5.
|
|
257
|
+
astrbot-4.5.3.dist-info/METADATA,sha256=Mu78zqWEBmEaEjSeZrv3QXQcnwcagNugL5tdamij61I,10968
|
|
258
|
+
astrbot-4.5.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
259
|
+
astrbot-4.5.3.dist-info/entry_points.txt,sha256=OEF09YmhBWYuViXrvTLLpstF4ccmNwDL8r7nnFD0pfI,53
|
|
260
|
+
astrbot-4.5.3.dist-info/licenses/LICENSE,sha256=zPfQj5Mq8-gThIiBcxETr7t8gND9bZWOjTGQAr80TQI,34500
|
|
261
|
+
astrbot-4.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|