StaticvalidateValidates an API key for the specified LLM provider. For Ollama the credential is the local server base URL, so reachability is checked instead of key validity.
The LLM provider identifier
The API key (or Ollama server base URL) to validate
Promise resolving to validation result with status and optional error message
StaticprobeProbes an LLM provider with the given credential, answering both credential validity and the list of available models with a single request. This is what keeps model dropdowns current: the lists come from the provider at use time instead of only from the curated catalog.
The LLM provider identifier
The API key (or Ollama server base URL)
Promise resolving to the probe result
StaticprobeProbes a local Ollama server, answering both reachability and the list of installed models with a single request so callers that need both (e.g. the settings dialog) avoid duplicate round-trips.
The Ollama server base URL
Promise resolving to the probe result
Service for validating credentials and discovering available models across LLM providers.