Skip to content

Commit 2addf6b

Browse files
google-genai-botcopybara-github
authored andcommitted
fix: Fix Type Error by initializing user_content as a Content object
PiperOrigin-RevId: 878682788
1 parent 3b5937f commit 2addf6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/evaluation/evaluation_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def convert_events_to_eval_invocations(
280280
invocations = []
281281
for invocation_id, events in events_by_invocation_id.items():
282282
final_response = None
283-
user_content = ""
283+
user_content = Content(parts=[])
284284
invocation_timestamp = 0
285285
app_details = None
286286
if (

0 commit comments

Comments
 (0)