Skip to content

Fix decoder issue in streaming response #15

Fix decoder issue in streaming response

Fix decoder issue in streaming response #15

name: Test on Fireworks
on:
push:
branches: [main]
workflow_dispatch:
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