Skip to content

Commit

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

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.deepinfra.com/v1/openai'
LLM_API_KEY: ${{ secrets.DEEPINFRA_API_KEY }}
LLM_CHAT_MODEL: 'meta-llama/Meta-Llama-3-8B-Instruct'
LLM_STREAMING: 'no'

- run: cat output.txt

0 comments on commit b804646

Please sign in to comment.