Skip to content

v2.0.3

@DimonSmart DimonSmart tagged this 28 Nov 18:08
Enhanced the MCP server by introducing a default configuration
for the Ollama server, defaulting to `http://localhost:11434`
if no user-provided settings exist. Updated `OllamaService` to
ensure a default server is always present.

Made `IOllamaService` and `ILogger` parameters optional in
`QueryOllama` and `ListOllamaConnections` methods, adding null
checks for safety. Improved logging to provide better insights
into server initialization and tool execution.

Updated the `Program` class to make `appsettings.json` optional
and added logic to configure a default local server if none are
defined. Set a 1-hour timeout for HTTP clients to support long-
running model inference requests. Improved MCP server
configuration to include default server info if missing.
Assets 2
Loading