update workspace id

This commit is contained in:
dengjiaji 2025-07-31 21:01:53 +08:00
parent 93c6c36dbf
commit fd2f4d5e37
3 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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"
}'

View file

@ -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")