Commit 8203459
Changed files (1)
src
llm
src/llm/utils.py
@@ -141,7 +141,7 @@ def add_search_results_to_response(search_results: list[dict], response: str) ->
return response
response = response.strip()
for idx, result in enumerate(search_results):
- title = result.get("title", "")[:20]
+ title = result.get("title", "")
link = result.get("link", "")
if link.startswith("http") and f"({link})" in response:
response += f"\n{number_to_emoji(idx + 1)} [{title}]({link})"