Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions owl/run_gaia_roleplaying.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ def main():
# Configure agent roles and parameters
user_agent_kwargs = {"model": models["user"]}
assistant_agent_kwargs = {"model": models["assistant"], "tools": tools}

result_file = os.path.join(cache_dir, "results/result.json")
os.makedirs(os.path.dirname(result_file), exist_ok=True)
# Initialize benchmark
benchmark = GAIABenchmark(
data_dir="data/gaia",
save_to=f"results/result.json"
save_to=result_file
)

# Print benchmark information
Expand Down