fix gaia bugs (#226)

This commit is contained in:
Wendong-Fan
2025-03-12 15:22:13 +08:00
committed by GitHub
2 changed files with 2 additions and 5 deletions

View File

@@ -52,6 +52,8 @@ def main():
# Create cache directory
cache_dir = "tmp/"
os.makedirs(cache_dir, exist_ok=True)
result_dir = "results/"
os.makedirs(result_dir, exist_ok=True)
# Create models for different components
models = {

View File

@@ -300,11 +300,6 @@ class OwlGAIARolePlaying(OwlRolePlaying):
),
)
user_msg = self._reduce_message_options(user_response.msgs)
if (
"n" in self.user_agent.model_config_dict.keys()
and self.user_agent.model_config_dict["n"] > 1
):
self.user_agent.record_message(user_msg)
modified_user_msg = deepcopy(user_msg)