Skip to content

better error handling for gemini #122

better error handling for gemini

better error handling for gemini #122

Workflow file for this run

name: build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install pip dependencies
run: |
pip install -r requirements.txt
pip install pytest
- name: Run tests
run: pytest tests
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}