This commit is contained in:
9
.github/workflows/ai-review.yml
vendored
9
.github/workflows/ai-review.yml
vendored
@@ -7,13 +7,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
review:
|
review:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
services:
|
# Using an external Ollama server at 192.168.1.92:11434
|
||||||
ollama:
|
# Do NOT start a local Ollama service in the runner; the workflow will connect to the external host.
|
||||||
image: ollama/ollama:latest
|
|
||||||
ports:
|
|
||||||
- 11434:11434
|
|
||||||
options: >-
|
|
||||||
--health-cmd="curl -sSf http://192.168.1.92:11434/ || exit 1" --health-interval=10s --health-timeout=5s --health-retries=12
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user