host.promiseQueue Causing Cache Misses and Repeated Requests #36
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: genai issue review | |
on: | |
issues: | |
types: [opened, edited] | |
concurrency: | |
group: issues-${{ github.event.issue.number }} | |
cancel-in-progress: true | |
env: | |
# Configure default GenAIScript models | |
# using Ollama's models | |
GENAISCRIPT_DEFAULT_MODEL: ollama:qwen2.5-coder:7b | |
GENAISCRIPT_DEFAULT_SMALL_MODEL: ollama:qwen2.5-coder:1.5b | |
GENAISCRIPT_DEFAULT_VISION_MODEL: ollama:llama3.2-vision:11b | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
fetch-depth: 10 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- name: compile | |
run: yarn compile | |
- name: start ollama | |
run: yarn ollama:start | |
- name: genaiscript issue-review | |
run: node packages/cli/built/genaiscript.cjs run issue-reviewer -prc --out-trace $GITHUB_STEP_SUMMARY | |
env: | |
GITHUB_ISSUE: ${{ github.event.issue.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |