Handle special line when stream using ask-llm.go #63
Workflow file for this run
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 PyPy | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 'pypy3.10' | |
- run: pypy3 --version | |
- name: Prepare LLM | |
uses: ./.github/actions/prepare-llm | |
timeout-minutes: 3 | |
- run: echo 'Which planet in our solar system is the largest?' | pypy3 ./ask-llm.py | grep -i jupiter | |
timeout-minutes: 7 | |
env: | |
LLM_API_BASE_URL: 'http://127.0.0.1:8080/v1' | |
LLM_DEBUG: 1 |