Skip to content

Commit 6bd9a30

Browse files
authored
Add local AI model to gallery agent workflow
Updated the GitHub Actions workflow to include the local AI model and modified environment variables for the gallery agent. Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
1 parent 7990c7a commit 6bd9a30

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/gallery-agent.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,17 @@ jobs:
3838
uses: actions/setup-go@v5
3939
with:
4040
go-version: '1.21'
41-
41+
- uses: mudler/localai-github-action@v1
42+
with:
43+
model: 'qwen3-1.7b'
4244

4345
- name: Run gallery agent
4446
env:
45-
OPENAI_MODEL: ${{ secrets.OPENAI_MODEL }}
47+
#OPENAI_MODEL: ${{ secrets.OPENAI_MODEL }}
48+
OPENAI_MODE: qwen3-1.7b
49+
OPENAI_BASE_URL: "http://localhost:8080"
4650
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
47-
OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }}
51+
#OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }}
4852
SEARCH_TERM: ${{ github.event.inputs.search_term || 'GGUF' }}
4953
LIMIT: ${{ github.event.inputs.limit || '15' }}
5054
QUANTIZATION: ${{ github.event.inputs.quantization || 'Q4_K_M' }}

0 commit comments

Comments
 (0)