#AI
zhou zhou
20 小时以前 8a3fa0452075df8290d4542e64ced002ff4b476d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.vincent.rsf.server.ai.service;
 
import com.vincent.rsf.server.ai.entity.AiMcpMount;
import org.springframework.ai.tool.ToolCallback;
 
import java.util.List;
 
public interface McpMountRuntimeFactory {
 
    McpMountRuntime create(List<AiMcpMount> mounts, Long userId);
 
    interface McpMountRuntime extends AutoCloseable {
 
        ToolCallback[] getToolCallbacks();
 
        List<String> getMountedNames();
 
        List<String> getErrors();
 
        int getMountedCount();
 
        @Override
        void close();
    }
}