Documentation
¶
Index ¶
- func NewAssistantPresetReferenceLookups(modelPresetSt *modelpresetStore.ModelPresetStore, toolSt *toolStore.ToolStore, ...) assistantpresetStore.ReferenceLookups
- func NewMCPContextLookup(serverStore MCPServerConfigStore, discovery MCPDiscoveryLookup) assistantpresetStore.MCPContextLookup
- type MCPDiscoveryLookup
- type MCPServerConfigStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAssistantPresetReferenceLookups ¶
func NewAssistantPresetReferenceLookups( modelPresetSt *modelpresetStore.ModelPresetStore, toolSt *toolStore.ToolStore, skillSt *skillStore.SkillStore, mcpServerStore MCPServerConfigStore, mcpDiscovery MCPDiscoveryLookup, ) assistantpresetStore.ReferenceLookups
func NewMCPContextLookup ¶ added in v0.1.22
func NewMCPContextLookup( serverStore MCPServerConfigStore, discovery MCPDiscoveryLookup, ) assistantpresetStore.MCPContextLookup
Types ¶
type MCPDiscoveryLookup ¶ added in v0.1.22
type MCPDiscoveryLookup interface {
ListTools(
ctx context.Context,
req *mcpSpec.ListMCPServerToolsRequest,
) (*mcpSpec.ListMCPServerToolsResponse, error)
ListResources(
ctx context.Context,
req *mcpSpec.ListMCPServerResourcesRequest,
) (*mcpSpec.ListMCPServerResourcesResponse, error)
ListResourceTemplates(
ctx context.Context,
req *mcpSpec.ListMCPServerResourceTemplatesRequest,
) (*mcpSpec.ListMCPServerResourceTemplatesResponse, error)
ListPrompts(
ctx context.Context,
req *mcpSpec.ListMCPServerPromptsRequest,
) (*mcpSpec.ListMCPServerPromptsResponse, error)
}
type MCPServerConfigStore ¶ added in v0.1.22
type MCPServerConfigStore interface {
GetMCPServer(
ctx context.Context,
req *mcpSpec.GetMCPServerRequest,
) (*mcpSpec.GetMCPServerResponse, error)
}
Click to show internal directories.
Click to hide internal directories.