RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix: remove duplicate .wav and .aac in audio supported extensions list (#14791)
Paul Yaoc34c81e8e675
diff --git a/rag/app/audio.py b/rag/app/audio.pyindex 29ef625fad..2741c91a90 100644--- a/rag/app/audio.py+++ b/rag/app/audio.py@@ -35,8 +35,8 @@ def chunk(filename, binary, tenant_id, lang, callback=None, **kwargs):if not ext:raise RuntimeError("No extension detected.")- if ext not in [".da", ".wave", ".wav", ".mp3", ".wav", ".aac", ".flac", ".ogg", ".aiff", ".au", ".midi", ".wma",- ".realaudio", ".vqf", ".oggvorbis", ".aac", ".ape"]:+ if ext not in [".da", ".wave", ".wav", ".mp3", ".aac", ".flac", ".ogg", ".aiff", ".au", ".midi", ".wma",+ ".realaudio", ".vqf", ".oggvorbis", ".ape"]:raise RuntimeError(f"Extension {ext} is not supported yet.")tmp_path = ""