-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Description
var ollamaTools = await Tools.GetFromMcpServers(new OllamaSharp.ModelContextProtocol.McpClientOptions
{
InitializationTimeout = TimeSpan.FromMinutes(10),
}, new OllamaSharp.ModelContextProtocol.Server.McpServerConfiguration
{
Name = "MCP Server",
Command = "http://localhost:5185/sse",
TransportType = OllamaSharp.ModelContextProtocol.Server.McpServerTransportType.Sse,
//Options
});
Exception:
System.TypeLoadException:“Could not load type 'ModelContextProtocol.Protocol.Transport.IClientTransport' from assembly 'ModelContextProtocol, Version=0.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.”
Tks.
rCartoux and Echostorm44
Metadata
Metadata
Assignees
Labels
No labels