From: Axy Date: Tue, 1 Sep 2026 11:28:31 +0000 (+0200) Subject: Small cleanup X-Git-Url: https://git.uwuaxy.net/sitemap.xml?a=commitdiff_plain;ds=inline;p=axy%2Fft%2Frag.git Small cleanup --- diff --git a/src/rag/answering.py b/src/rag/answering.py index 9f526f3..5e66e5e 100644 --- a/src/rag/answering.py +++ b/src/rag/answering.py @@ -112,7 +112,7 @@ class InferenceBackend: clean_answer = re.sub( r".*", "", answer, flags=re.DOTALL ) - return clean_answer + return clean_answer.strip() def answer( self,