Support Mistral Le Plateforme #23
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 on Lepton | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: node --version | |
- run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter | |
timeout-minutes: 3 | |
env: | |
LLM_API_BASE_URL: 'https://llama3-1-8b.lepton.run/api/v1' | |
LLM_API_KEY: ${{ secrets.LEPTON_API_KEY }} | |
LLM_CHAT_MODEL: 'llama3-1-8b' | |
- run: cat output.txt |