From 8413e80d839e1df75e719708d6d26474ccd986bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B8=A3=E5=B1=B1?= Date: Tue, 17 Jun 2025 21:27:56 +0800 Subject: [PATCH] add examples --- cookbook/step_agent/examples.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cookbook/step_agent/examples.py b/cookbook/step_agent/examples.py index 939649c0..c97233ae 100644 --- a/cookbook/step_agent/examples.py +++ b/cookbook/step_agent/examples.py @@ -92,7 +92,7 @@ def example_1_extract_step_experiences(): # Extract experiences using summarizer summarizer_request = { - "trajectories": [successful_trajectory.model_dump(), failed_trajectory.model_dump()]*5, + "trajectories": [successful_trajectory.model_dump(), failed_trajectory.model_dump()], "workspace_id": WORKSPACE_ID } @@ -251,9 +251,9 @@ def main(): # Run examples example_1_extract_step_experiences() - # example_2_generate_step_context() - # example_3_full_agent_execution() - # example_4_custom_configuration() + example_2_generate_step_context() + example_3_full_agent_execution() + example_4_custom_configuration() print("\nšŸŽ‰ All examples completed!")