Skip to content

Commit

Permalink
Test on Fireworks
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed May 12, 2024
1 parent 3d25de7 commit fe174a2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-fireworks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test on Fireworks

on:
push:
branches: [main]

jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '18'

- 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://api.fireworks.ai/inference/v1'
LLM_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}
LLM_CHAT_MODEL: 'accounts/fireworks/models/llama-v3-8b-instruct'

- run: cat output.txt

0 comments on commit fe174a2

Please sign in to comment.