mirror of
https://github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama.git
synced 2025-01-19 00:47:46 +00:00
Update Self_Improving_Search.py for windows
This commit is contained in:
parent
df2c6ac39b
commit
161698a228
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue