File tree Expand file tree Collapse file tree
src/google/adk/evaluation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ class SessionInput(EvalBaseModel):
125125 state : SessionState = Field (default_factory = dict )
126126 """The state of the session."""
127127
128- events : Optional [list [Event ]] = None
128+ conversation_history : Optional [list [Event ]] = None
129129 """Optional list of events to seed the session with prior conversation history.
130130
131131 When provided, these events are appended to the session after creation but
Original file line number Diff line number Diff line change @@ -567,8 +567,8 @@ async def _generate_inferences_from_root_agent(
567567
568568 # Seed session with prior conversation history so that eval turns
569569 # run with realistic prior context without being scored.
570- if initial_session and initial_session .events :
571- for event in initial_session .events :
570+ if initial_session and initial_session .conversation_history :
571+ for event in initial_session .conversation_history :
572572 await session_service .append_event (session = session , event = event )
573573
574574 if not artifact_service :
You can’t perform that action at this time.
0 commit comments