mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
fix gaia bugs (#226)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user