LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
fix: Update validation checks to allow Ollama provider
naveed9495c0f61e3f93a
diff --git a/src/lib/web-search.ts b/src/lib/web-search.tsindex 67219896..93ec0f05 100644--- a/src/lib/web-search.ts+++ b/src/lib/web-search.ts@@ -101,6 +101,9 @@ export function hasConfiguredSearchProvider(config: SearchApiConfig): boolean {if (resolved.provider === "searxng") {return Boolean(resolved.searXngUrl?.trim())}+ if (resolved.provider === "ollama") {+ return true // Ollama uses default localhost URL if not configured+ }return Boolean(resolved.apiKey?.trim())}@@ -114,7 +117,7 @@ export async function webSearch(throw new Error("Web search not configured. Select a search provider in Settings.")}if ((resolved.provider === "tavily" || resolved.provider === "serpapi") && !resolved.apiKey) {- throw new Error("Web search not configured. Add a Tavily or SerpApi API key in Settings.")+ throw new Error("Web search not configured. Add a Tavily or SerpApi API key in Settings, or select a different provider.")}if (resolved.provider === "searxng" && !resolved.searXngUrl?.trim()) {throw new Error("Web search not configured. Add a SearXNG instance URL in Settings.")