Title: [Bug]: Chat and Agent modes fail with ERROR: no such method when using local Ollama (v1.0.0-rc3) #21895
|
Environment: RAGFlow version: v1.0.0-rc3 (Docker deployment on Windows) Hardware: RTX 5070 Ti (16GB VRAM), 64GB RAM LLM: Local Ollama qwen2.5:14b (also tried qwen3.5-nothink:latest) Embedding: Local Ollama bge-m3 Description: The strange part: Retrieval testing works perfectly. It successfully returns 64 highly relevant chunks with proper similarity scores (Keyword + Vector). Chat and Agent modes are broken. Every time I try to send a message in the Chat UI, I immediately get ERROR: no such method. In Agentic mode, it generates a "Thought" process, tries to use grep_chunks, and then fails with ERROR: agentic_rag: finalizeAnswer produced empty output. Expected behavior: Actual behavior: Logs / Error Messages: text text |
Replies: 4 comments 2 replies
|
The bare
Your chat likely uses an Ollama rerank model. Remove it in the chat settings. |
|
@liyunpeng1216 could you please paste more error logs? |
|
@liyunpeng1216 |
|
#21925 I raised a PR to enhance the error message. |
The bare
no such methodcomes fromRerank()in the Ollama driver. Ollama has no rerank method in rc3.internal/entity/models/ollama.go-Rerankreturns this errorinternal/service/nlp/reranker.go- retrieval callsRerankYour chat likely uses an Ollama rerank model. Remove it in the chat settings.