mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-09-28 12:12:17 +02:00
Add files via upload
This commit is contained in:
@@ -369,7 +369,7 @@ func (s *Server) handleListTools(msg *Message) *Message {
|
|||||||
tools = append(tools, tool)
|
tools = append(tools, tool)
|
||||||
}
|
}
|
||||||
s.mu.RUnlock()
|
s.mu.RUnlock()
|
||||||
s.logger.Info("tools/list 请求", zap.Int("返回工具数", len(tools)))
|
s.logger.Debug("tools/list 请求", zap.Int("返回工具数", len(tools)))
|
||||||
|
|
||||||
response := ListToolsResponse{Tools: tools}
|
response := ListToolsResponse{Tools: tools}
|
||||||
result, _ := json.Marshal(response)
|
result, _ := json.Marshal(response)
|
||||||
|
|||||||
Reference in New Issue
Block a user