feat: unify debug runtime timelines
This commit is contained in:
@@ -163,6 +163,7 @@ class EvaluationEngine:
|
||||
user_input=expected_turn.user_input,
|
||||
assistant_reply="",
|
||||
tool_calls=[],
|
||||
runtime_records=[],
|
||||
)
|
||||
evaluations = [
|
||||
await self._evaluate_behavior(behavior, raw)
|
||||
@@ -175,6 +176,7 @@ class EvaluationEngine:
|
||||
user_input=raw.user_input,
|
||||
assistant_reply=raw.assistant_reply,
|
||||
tool_calls=[item.as_result() for item in raw.tool_calls],
|
||||
runtime_records=list(raw.runtime_records),
|
||||
evaluations=evaluations,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user