Skip to content

Commit

Permalink
update: grader_llm_config missing in notebook, tests added in the wor…
Browse files Browse the repository at this point in the history
…kflows
  • Loading branch information
Hk669 committed Dec 20, 2024
1 parent c16b9b3 commit f124231
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions notebook/agentchat_reasoning_agent.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f124231

Please sign in to comment.