feat(costs): add default OpenAI price table (4o-mini, 4o/4.1); fallba… #4
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install package | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[repair] | |
| - name: Run tests | |
| env: | |
| # Force mock provider to avoid external API calls | |
| LLM_PROVIDER: mock | |
| USE_TOOL_CALLS: '0' | |
| run: | | |
| pytest -q | |
| - name: Run evals (smoke) | |
| env: | |
| LLM_PROVIDER: mock | |
| USE_TOOL_CALLS: '0' | |
| run: | | |
| python evals/run_evals.py --n 6 |