From f1242315ccf8ce9764b5d1eb83db05a4e2f25848 Mon Sep 17 00:00:00 2001 From: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com> Date: Fri, 20 Dec 2024 08:18:48 +0000 Subject: [PATCH 1/2] update: grader_llm_config missing in notebook, tests added in the workflows --- .github/workflows/contrib-tests.yml | 37 ++++++++++++++++++++++++ notebook/agentchat_reasoning_agent.ipynb | 1 + 2 files changed, 38 insertions(+) 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" From 70010b0acfcff05bf360d45a0e0e67111f2fef13 Mon Sep 17 00:00:00 2001 From: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:47:58 +0000 Subject: [PATCH 2/2] remove the ci --- .github/workflows/contrib-tests.yml | 37 ----------------------------- 1 file changed, 37 deletions(-) diff --git a/.github/workflows/contrib-tests.yml b/.github/workflows/contrib-tests.yml index b967924811..ac0240eb43 100644 --- a/.github/workflows/contrib-tests.yml +++ b/.github/workflows/contrib-tests.yml @@ -772,40 +772,3 @@ 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