Float Cast Safety & Ensure Templates Update

This commit is contained in:
2025-12-26 18:30:05 +01:00
parent d6a4b667a8
commit 64f568d5bc

View File

@@ -88,7 +88,7 @@ class RAGChatService:
'content': hit.payload.get('content', ''),
'file_path': hit.payload.get('file_path', ''),
'header': hit.payload.get('header', ''),
'score': hit.score
'score': float(hit.score)
})
except Exception as e: