From e645a89192b28cc16a1303bfa5551834c64ecb77 Mon Sep 17 00:00:00 2001 From: Nate Sesti <33237525+sestinj@users.noreply.github.com> Date: Sun, 3 Sep 2023 21:58:46 -0700 Subject: refactor: :construction: Initial, not tested, refactor of LLM (#448) * refactor: :construction: Initial, not tested, refactor of LLM * refactor: :construction: replace usages of _complete with complete * fix: :bug: fixes after refactor * refactor: :recycle: template raw completions in chat format * test: :white_check_mark: simplified edit prompt and UNIT TESTS! * ci: :green_heart: unit tests in ci * fix: :bug: fixes for unit tests in ci * fix: :bug: start uvicorn in tests without poetry * fix: :closed_lock_with_key: add secrets to main.yaml * feat: :adhesive_bandage: timeout for all LLM classes * ci: :green_heart: prepare main.yaml for main branch --- .github/workflows/main.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8c348024..49dde09c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -39,6 +39,17 @@ jobs: run: | chmod 777 dist/run + - name: Test Python Server + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }} + run: | + cd continuedev + pip install -r dev_requirements.txt + cd src + python -m pytest + - name: Upload Artifacts uses: actions/upload-artifact@v3 with: -- cgit v1.2.3-70-g09d2