{"record":{"id":"541339b77bdfde1b","repo":"ruvnet/ruflo","slug":"neither-ruvector-nor-ollama-available-provider-ma","errorCode":null,"errorMessage":"Neither RuVector nor Ollama available. Provider may not work.","messagePattern":"Neither RuVector nor Ollama available\\. Provider may not work\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/providers/src/ruvector-provider.ts","lineNumber":212,"sourceCode":"\n    // Check if RuVector HTTP server is running\n    const health = await this.doHealthCheck();\n    if (health.healthy) {\n      this.logger.info('RuVector server connected');\n      return;\n    }\n\n    // Fallback: Check if Ollama is running for local model execution\n    try {\n      const ollamaHealth = await fetch(`${this.ollamaUrl}/api/tags`, {\n        signal: AbortSignal.timeout(3000),\n      });\n      if (ollamaHealth.ok) {\n        this.useOllamaFallback = true;\n        this.logger.info('Using Ollama as fallback for local model execution');\n      }\n    } catch {\n      this.logger.warn('Neither RuVector nor Ollama available. Provider may not work.');\n    }\n  }\n\n  protected async doComplete(request: LLMRequest): Promise<LLMResponse> {\n    // Use Ollama fallback if RuVector server isn't available\n    if (this.useOllamaFallback) {\n      return this.completeWithOllama(request);\n    }\n\n    const ruvectorRequest = this.buildRuvectorQuery(request);\n\n    const controller = new AbortController();\n    const timeout = setTimeout(() => controller.abort(), this.config.timeout || 120000);\n\n    try {\n      // Use ruvLLM's /query endpoint (not OpenAI-compatible)\n      const response = await fetch(`${this.baseUrl}/query`, {\n        method: 'POST',","sourceCodeStart":194,"sourceCodeEnd":230,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/providers/src/ruvector-provider.ts#L194-L230","documentation":"Warning in RuVectorProvider.doInitialize(): both the RuVector HTTP server health check and the Ollama fallback probe (/api/tags) failed, so the provider has no working backend and inference calls are expected to fail.","triggerScenarios":"Thrown at v3/@claude-flow/providers/src/ruvector-provider.ts:212 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install RuVector or start a local Ollama server so the provider has a working backend."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}