Skip to content

Commit

Permalink
init the log directory so outputs don't go to project root
Browse files Browse the repository at this point in the history
  • Loading branch information
teaxio committed Jun 13, 2024
1 parent 06baac6 commit 9287d33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ae/core/autogen_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#from autogen import Cache
from dotenv import load_dotenv

from ae.config import SOURCE_LOG_FOLDER_PATH
from ae.core.agents.browser_nav_agent import BrowserNavAgent
from ae.core.agents.browser_nav_agent_no_skills import BrowserNavAgentNoSkills
from ae.core.prompts import LLM_PROMPTS
Expand All @@ -35,8 +36,7 @@ def __init__(self, max_chat_round: int = 50):
self.number_of_rounds = max_chat_round
self.agents_map: dict[str, autogen.UserProxyAgent | autogen.AssistantAgent] | None = None
self.config_list: list[dict[str, str]] | None = None
self.chat_logs_dir: str|None = None

self.chat_logs_dir: str = SOURCE_LOG_FOLDER_PATH

@classmethod
async def create(cls, agents_needed: list[str] | None = None, max_chat_round: int = 50):
Expand Down

0 comments on commit 9287d33

Please sign in to comment.