Update OpenAI backend to use 1.0.0 API (errors in local testing) (#95) #47
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
# https://pre-commit.com | |
# This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file. | |
--- | |
name: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- run: pip install pre-commit | |
- run: pip install -e '.[all]' | |
- run: pre-commit --version | |
- run: pre-commit install | |
- run: pre-commit run --all-files |