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>
This commit is contained in:
Ettore Di Giacinto
2025-12-04 22:43:31 +01:00
committed by GitHub
parent 7990c7a401
commit 6bd9a304bc

View File

@@ -38,13 +38,17 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.21'
- uses: mudler/localai-github-action@v1
with:
model: 'qwen3-1.7b'
- name: Run gallery agent
env:
OPENAI_MODEL: ${{ secrets.OPENAI_MODEL }}
#OPENAI_MODEL: ${{ secrets.OPENAI_MODEL }}
OPENAI_MODE: qwen3-1.7b
OPENAI_BASE_URL: "http://localhost:8080"
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }}
#OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }}
SEARCH_TERM: ${{ github.event.inputs.search_term || 'GGUF' }}
LIMIT: ${{ github.event.inputs.limit || '15' }}
QUANTIZATION: ${{ github.event.inputs.quantization || 'Q4_K_M' }}