docs: fix search method return value handling in integration and example docs (#3208)

This commit is contained in:
cnScarb
2025-08-11 12:16:01 -05:00
committed by GitHub
parent 2307dc8613
commit c2792c6558
15 changed files with 25 additions and 25 deletions
@@ -86,7 +86,7 @@ def apply_writing_style(original_content):
print("No preferences found.")
return None
preferences = "\n".join(r["memory"] for r in results)
preferences = "\n".join(r["memory"] for r in results.get('results', []))
system_prompt = f"""
You are a writing assistant.