Skip to content

Commit

Permalink
Merge pull request EmergenceAI#99 from EmergenceAI/fix_test_processor…
Browse files Browse the repository at this point in the history
…_config

bug fix for test_processor
  • Loading branch information
deepak-akkil authored Sep 6, 2024
2 parents 5c8c527 + 01ddb7d commit 14f55a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tests_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import json
import os
import time
from ae.core.agents_llm_config import AgentsLLMConfig
from test.evaluators import evaluator_router
from test.test_utils import get_formatted_current_timestamp
from test.test_utils import load_config
Expand Down Expand Up @@ -323,8 +324,9 @@ async def run_tests(ag: AutogenWrapper, browser_manager: PlaywrightManager, min_
results_dir = create_results_dir(test_file, test_results_id)
test_results: list[dict[str, str | int | float | None]] = []

llm_config = AgentsLLMConfig()
if not ag:
ag = await AutogenWrapper.create()
ag = await AutogenWrapper.create(llm_config.get_planner_agent_config(), llm_config.get_browser_nav_agent_config())

if not browser_manager:
browser_manager = browserManager.PlaywrightManager(headless=False)
Expand Down

0 comments on commit 14f55a8

Please sign in to comment.