Test with OpenRouter: do not use the free model #36
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: Test with CPython | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Prepare LLM (Phi-3 Mini) | |
uses: ./.github/actions/prepare-llm | |
timeout-minutes: 3 | |
- run: echo 'Which planet in our solar system is the largest?' | python3 ./ask-llm.py | grep -i jupiter | |
timeout-minutes: 7 | |
env: | |
LLM_API_BASE_URL: 'http://127.0.0.1:8080/v1' | |
LLM_DEBUG: 1 |