diff --git a/.github/workflows/contrib-tests.yml b/.github/workflows/contrib-tests.yml index ac0240eb43..b967924811 100644 --- a/.github/workflows/contrib-tests.yml +++ b/.github/workflows/contrib-tests.yml @@ -772,3 +772,40 @@ jobs: with: file: ./coverage.xml flags: unittests + + # ReasoningTest: + # runs-on: ${{ matrix.os }} + # strategy: + # fail-fast: false + # matrix: + # os: [ubuntu-latest, macos-latest, windows-latest] + # python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + # exclude: + # - os: macos-latest + # python-version: "3.9" + # steps: + # - uses: actions/checkout@v4 + # with: + # lfs: true + # - name: Set up Python ${{ matrix.python-version }} + # uses: actions/setup-python@v5 + # with: + # python-version: ${{ matrix.python-version }} + # - name: Install packages and dependencies for all tests + # run: | + # python -m pip install --upgrade pip wheel + # pip install pytest-cov>=5 + # - name: Set AUTOGEN_USE_DOCKER based on OS + # shell: bash + # run: | + # if [[ ${{ matrix.os }} != ubuntu-latest ]]; then + # echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV + # fi + # - name: Coverage + # run: | + # pytest test/agentchat/contrib/test_reasoning_agent.py --skip-openai + # - name: Upload coverage to Codecov + # uses: codecov/codecov-action@v3 + # with: + # file: ./coverage.xml + # flags: unittests diff --git a/notebook/agentchat_reasoning_agent.ipynb b/notebook/agentchat_reasoning_agent.ipynb index a722392d5a..78e7623892 100644 --- a/notebook/agentchat_reasoning_agent.ipynb +++ b/notebook/agentchat_reasoning_agent.ipynb @@ -3698,6 +3698,7 @@ "reason_agent_for_writer = ReasoningAgent(\n", " name=\"reason_agent\",\n", " llm_config={\"config_list\": config_list},\n", + " grader_llm_config=grader_llm_config,\n", " verbose=verbose,\n", " reason_config={\"method\": \"lats\", \"nsim\": 2, \"max_depth\": 3},\n", ")\n"