Skip to content

Commit 7d139bd

Browse files
committed
AI: Ensure default caption model only runs manual photoprism#5361
Signed-off-by: Michael Mayer <[email protected]>
1 parent f295a4b commit 7d139bd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

internal/ai/vision/models.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ var (
9090
CaptionModel = &Model{
9191
Type: ModelTypeCaption,
9292
Engine: ollama.EngineName,
93+
Run: RunManual,
9394
}
9495
DefaultModels = Models{
9596
NasnetModel,

internal/ai/vision/testdata/vision.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Models:
6767
- Type: caption
6868
Model: gemma3:latest
6969
Engine: ollama
70+
Run: manual
7071
Resolution: 720
7172
Service:
7273
Uri: http://ollama:11434/api/generate

0 commit comments

Comments
 (0)