mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-11 16:24:11 +01:00
AI: Ensure default caption model only runs manual #5361
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -90,6 +90,7 @@ var (
|
||||
CaptionModel = &Model{
|
||||
Type: ModelTypeCaption,
|
||||
Engine: ollama.EngineName,
|
||||
Run: RunManual,
|
||||
}
|
||||
DefaultModels = Models{
|
||||
NasnetModel,
|
||||
|
||||
1
internal/ai/vision/testdata/vision.yml
vendored
1
internal/ai/vision/testdata/vision.yml
vendored
@@ -67,6 +67,7 @@ Models:
|
||||
- Type: caption
|
||||
Model: gemma3:latest
|
||||
Engine: ollama
|
||||
Run: manual
|
||||
Resolution: 720
|
||||
Service:
|
||||
Uri: http://ollama:11434/api/generate
|
||||
|
||||
Reference in New Issue
Block a user