Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/google/adk/apps/llm_event_summarizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ class LlmEventSummarizer(BaseEventsSummarizer):
' It may or may not start from a compacted history. Please identify and'
' reiterate the user request, summarize the context so far, focusing on'
' key decisions made and information obtained, as well as any unresolved'
' questions or tasks. The summary should be concise and capture the'
' questions or tasks. '
'CRITICAL INSTRUCTIONS: '
'1. Explicitly identify and state the primary language used by the user '
'at the top of your summary (e.g., "Conversation Language: English"). '
'2. If the agent called any tools, accurately list the exact tool names '
'used to maintain tool grounding. '
'The rest of the summary should be concise and capture the'
' essence of the interaction.\n\n{conversation_history}'
)

Expand Down