feat(tool system): Optimization of the tool system
1. Optimization of the JSON tool, add insert, replace, delete, parse 2. Optimization of the mcp test_connection 3. tool list desc 4. datetime_tool default timezone set Asia/Shanghai
This commit is contained in:
@@ -36,7 +36,7 @@ class ToolRepository:
|
||||
query = query.filter(ToolConfig.status == status.value)
|
||||
if is_enabled is not None:
|
||||
query = query.filter(ToolConfig.is_enabled == is_enabled)
|
||||
|
||||
query = query.order_by(ToolConfig.created_at.desc())
|
||||
return query.all()
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user