Skip to content

Commit bb19091

Browse files
recursive self improvement
1 parent a8c7af5 commit bb19091

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/scripts/improve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
REPO_ROOT = Path(__file__).resolve().parents[2]
2727
SRC_DIR = (REPO_ROOT / "src").resolve()
2828

29-
MODEL = os.environ.get("IMPROVE_MODEL", "qwen2.5-coder:1.5b")
29+
MODEL = os.environ.get("IMPROVE_MODEL", "qwen2.5-coder:0.5b")
3030
OLLAMA_URL = os.environ.get("OLLAMA_URL", "http://127.0.0.1:11434")
3131

3232
# Trimming budgets — a happy medium: enough context to be interesting without

.github/scripts/review.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import urllib.request
2323
from pathlib import Path
2424

25-
MODEL = os.environ.get("REVIEW_MODEL", "qwen2.5-coder:1.5b")
25+
MODEL = os.environ.get("REVIEW_MODEL", "qwen2.5-coder:0.5b")
2626
OLLAMA_URL = os.environ.get("OLLAMA_URL", "http://127.0.0.1:11434")
2727
PR_NUMBER = os.environ.get("PR_NUMBER", "")
2828

.github/workflows/improve.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
model:
1111
description: "Ollama model to run"
1212
required: false
13-
default: "qwen2.5-coder:1.5b"
13+
default: "qwen2.5-coder:0.5b"
1414

1515
# NOTE on security: the token below is intentionally NOT granted `workflows`
1616
# permission, so GitHub itself will reject any push that touches
@@ -31,7 +31,7 @@ jobs:
3131
timeout-minutes: 40
3232
env:
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
IMPROVE_MODEL: ${{ github.event.inputs.model || 'qwen2.5-coder:1.5b' }}
34+
IMPROVE_MODEL: ${{ github.event.inputs.model || 'qwen2.5-coder:0.5b' }}
3535

3636
steps:
3737
- name: Checkout

.github/workflows/review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
timeout-minutes: 30
2626
env:
2727
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
REVIEW_MODEL: "qwen2.5-coder:1.5b"
28+
REVIEW_MODEL: "qwen2.5-coder:0.5b"
2929
# The improve workflow named its branch auto/improve-<run_id>, and that
3030
# run_id is exactly this event's workflow_run.id.
3131
PR_BRANCH: "auto/improve-${{ github.event.workflow_run.id }}"

0 commit comments

Comments
 (0)