Skip to content

armgit / LEANN

Public Imported from GitHub
0

[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.

fix: remove dead code in serve command

Andy Lee0a370825b06c
diff --git a/packages/leann-core/src/leann/cli.py b/packages/leann-core/src/leann/cli.py
index 6475631..360d35b 100644
--- a/packages/leann-core/src/leann/cli.py
+++ b/packages/leann-core/src/leann/cli.py
@@ -1783,8 +1783,6 @@ Examples:
await self.ask_questions(args)
elif args.command == "serve":
await self.serve_api(args)
- with suppress_cpp_output(suppress):
- await self.ask_questions(args)
else:
parser.print_help()