From b3d266d4875a7acf326f839ec8f1df5bdbb7189a Mon Sep 17 00:00:00 2001 From: zouying <1799771645@qq.com> Date: Fri, 15 Aug 2025 12:00:43 +0800 Subject: [PATCH] update: change use_experience_deletion param initialization --- experiencemaker/cookbook/bfcl/bfcl_agent.py | 2 +- experiencemaker/cookbook/bfcl/run_bfcl.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/experiencemaker/cookbook/bfcl/bfcl_agent.py b/experiencemaker/cookbook/bfcl/bfcl_agent.py index b1ffa5d7..0e419fb2 100644 --- a/experiencemaker/cookbook/bfcl/bfcl_agent.py +++ b/experiencemaker/cookbook/bfcl/bfcl_agent.py @@ -85,7 +85,7 @@ class BFCLAgent: self.enable_thinking: bool = enable_thinking self.use_experience: bool = use_experience self.use_fixed_experience: bool = use_fixed_experience if use_experience else True - self.use_experience_deletion: bool = use_experience_deletion + self.use_experience_deletion: bool = use_experience_deletion if use_experience else False self.delete_freq: int = delete_freq self.freq_threshold: int = freq_threshold self.utility_threshold: float = utility_threshold diff --git a/experiencemaker/cookbook/bfcl/run_bfcl.py b/experiencemaker/cookbook/bfcl/run_bfcl.py index a1a9e3f2..e96753fe 100644 --- a/experiencemaker/cookbook/bfcl/run_bfcl.py +++ b/experiencemaker/cookbook/bfcl/run_bfcl.py @@ -87,14 +87,14 @@ def main(): use_experience = True use_fixed_experience = False use_experience_deletion = True - experience_base_url = "http://0.0.0.0:8002/" + experience_base_url = "http://0.0.0.0:8001/" experience_workspace_id = "bfcl_v1" if max_workers > 1: ray.init(num_cpus=4) for run_id in range(num_runs): run_agent( dataset_name="bfcl-multi-turn-base-val", - experiment_suffix=f"0815-w-exp-recall-rewrite-update-delete-test", # + experiment_suffix=f"0815-w-exp-recall-update-delete-test", # -rewrite model_name="qwen3-8b", max_workers=max_workers, num_runs=1,