Skip to content

Commit f6f3d49

Browse files
authored
Merge pull request #59 from TogetherCrew/fix/58-summarizer-respond
feat: Enhance summary prompt formatting in fetch_and_summarize_realti…
2 parents b543649 + 8286510 commit f6f3d49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hivemind_summarizer/activities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ async def fetch_and_summarize_realtime_data(
327327

328328
# Generate summary using OpenAI
329329
prompt = (
330-
"Please provide a concise summary of the following content, focusing on the key points and main themes:"
331-
f"{combined_text}"
330+
"Please provide a concise summary of the following content, focusing on the key points and main themes. "
331+
f"\n\nContent:\n{combined_text}"
332332
)
333333

334334
response = await client.chat.completions.create(

0 commit comments

Comments
 (0)