fix: the OpenAI compatible interface returns an incorrect choices when the 'n' parameter is not supported. #2989
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre Commit Check | |
on: | |
push: | |
branches: [ "master", "qa" ] | |
pull_request: | |
branches: [ "master", "qa" ] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python environment and install dependencies | |
uses: ./.github/actions/camel_install | |
with: | |
python-version: "3.10" | |
- name: Run pre-commit | |
run: poetry run pre-commit run --all-files |