zhou zhou
17 小时以前 eb49fb9a98d6dd4e4361daf4eac4f9313236b8e8
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();
    }
}