Create, Evaluate, and Connect AI Skills
Python ai-agentsai-skillsartificial-intelligenceknowledge-graphlarge-language-modelsnatural-language-processingopenkgskillnetskills
update webshop_run
LiamLYYYb5259d088f3e
diff --git a/experiments/webshop_run.py b/experiments/webshop_run.pyindex 0a7972c..4c41956 100644--- a/experiments/webshop_run.py+++ b/experiments/webshop_run.py@@ -20,10 +20,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))webshop_path = os.path.join(current_dir, "webshop")if webshop_path not in sys.path:sys.path.append(webshop_path)-# WebShop specific importsfrom webshop.web_agent_site.envs import WebAgentTextEnv-from webshop.web_agent_site.utils import DEFAULT_FILE_PATH-from webshop.web_agent_site.envs.web_agent_text_env import SimServerclient = OpenAI(@@ -175,7 +172,6 @@ def eval_single_game(game_idx, session_id, args, output_path):print(f'{Colors.RED}Processing task {game_idx} (Session {session_id}): {ob}{Colors.RESET}')- # 获取 WebShop 的任务指令instruction_text = env.instruction_text# Initialize SkillModule (if enabled)