From fd2f4d5e37b50096f5c0a6d0528b81f07358eaec Mon Sep 17 00:00:00 2001 From: dengjiaji Date: Thu, 31 Jul 2025 21:01:53 +0800 Subject: [PATCH] update workspace id --- cookbook/appworld/appworld_react_agent.py | 4 ++-- cookbook/appworld/quickstart.md | 2 +- cookbook/appworld/run_exp_statistic.py | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cookbook/appworld/appworld_react_agent.py b/cookbook/appworld/appworld_react_agent.py index 176408f3..118e546b 100644 --- a/cookbook/appworld/appworld_react_agent.py +++ b/cookbook/appworld/appworld_react_agent.py @@ -39,7 +39,7 @@ class AppworldReactAgent: use_experience: bool = False, make_experience: bool = False, exp_url: str = "http://0.0.0.0:8001/", - workspace_id: str="appworld_8b_0725"): + workspace_id: str="appworld_v1"): self.index: int = index self.task_ids: List[str] = task_ids @@ -63,7 +63,7 @@ class AppworldReactAgent: model=self.model_name, messages=messages, temperature=self.temperature, - extra_body={"enable_thinking": False}, + extra_body={"enable_thinking": True}, seed=0) return response.choices[0].message.content diff --git a/cookbook/appworld/quickstart.md b/cookbook/appworld/quickstart.md index 49f49ec7..29a6910b 100644 --- a/cookbook/appworld/quickstart.md +++ b/cookbook/appworld/quickstart.md @@ -67,7 +67,7 @@ add experiences for appworld: curl -X POST "http://0.0.0.0:8001/vector_store" \ -H "Content-Type: application/json" \ -d '{ - "workspace_id": "appworld", + "workspace_id": "appworld_v1", "action": "dump", "path": "./experience_library" }' diff --git a/cookbook/appworld/run_exp_statistic.py b/cookbook/appworld/run_exp_statistic.py index cba57642..32535043 100644 --- a/cookbook/appworld/run_exp_statistic.py +++ b/cookbook/appworld/run_exp_statistic.py @@ -137,10 +137,10 @@ def run_exp_statistic(): df = df.set_index('file') # Sort columns by the number in column name (best@8, best@4, best@2, best@1) - # best_columns = [col for col in df.columns if col.startswith('best@')] - best_columns = [col for col in df.columns] - best_columns.sort(key=lambda x: x, reverse=False) - df = df[best_columns] + pass_columns = [col for col in df.columns if col.startswith('pass@')] + # best_columns = [col for col in df.columns] + pass_columns.sort(key=lambda x: x, reverse=False) + df = df[pass_columns] print("\n" + "=" * 80) print("Experiment Results Summary Table")