We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828bb08 commit d41a7fdCopy full SHA for d41a7fd
backend/app/agents/devrel/nodes/handlers/faq.py
@@ -167,6 +167,8 @@ async def _synthesize_faq_response(
167
for i, result in enumerate(search_results[:5]): # Limit to top 5 results
168
title = result.get('title', 'N/A')
169
content = result.get('content', 'N/A')
170
+ if isinstance(content, str) and len(content) > 500:
171
+ content = content[:500] + "..."
172
url = result.get('url', 'N/A')
173
results_context += f"\nResult {i+1}:\nTitle: {title}\nContent: {content}\nURL: {url}\n"
174
0 commit comments