Update Self_Improving_Search.py for windows

This commit is contained in:
Hafeez 2024-11-21 09:29:00 +05:30 committed by GitHub
parent df2c6ac39b
commit 161698a228
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,7 +251,6 @@ class EnhancedSelfImprovingSearch:
max_length = 5000 max_length = 5000
if len(content) > max_length: if len(content) > max_length:
content = content[:max_length] + "..." content = content[:max_length] + "..."
return content.strip() return content.strip()
def generate_enhanced_summary(self, results: List[SearchResult], query: str) -> str: def generate_enhanced_summary(self, results: List[SearchResult], query: str) -> str: