add openai v1 compatible endpoint for chat completions #154
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
# This is a basic workflow to help you get started with Actions | |
name: Pull Request Quality Checks | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: | |
- main | |
- feat/* | |
workflow_dispatch: | |
jobs: | |
build: | |
name: PR checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12.x | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: | | |
python -m venv ./.venv | |
source ./.venv/bin/activate | |
make build | |
make install-dev; | |
- name: Run Quality Checks | |
run: | | |
source ./.venv/bin/activate | |
make qa; |