Priority
Medium
Summary
The plug-in selects the first model returned by Ollama:
props.selectedModel = availableModels[1]
Ollama does not guarantee that the first returned model is vision-capable or appropriate for image metadata generation.
The user’s model selection is also discarded whenever the dialog is reopened.
Expected behavior
The plug-in should remember the selected model and avoid silently defaulting to an arbitrary text-only model.
Implementation notes
- Store the selected model in Lightroom plug-in preferences.
- When loading:
- Retrieve the available Ollama models.
- Select the stored preference when it still exists.
- Otherwise prefer the configured default model.
- Otherwise require explicit selection or use a documented fallback.
- Persist the selection when it changes or when the dialog is saved.
- Consider adding a user-configured vision-model preference rather than attempting unreliable model-name inference.
- Display a clear error when the selected model rejects image input.
Acceptance criteria
Priority
Medium
Summary
The plug-in selects the first model returned by Ollama:
Ollama does not guarantee that the first returned model is vision-capable or appropriate for image metadata generation.
The user’s model selection is also discarded whenever the dialog is reopened.
Expected behavior
The plug-in should remember the selected model and avoid silently defaulting to an arbitrary text-only model.
Implementation notes
Acceptance criteria
/api/tagsis not automatically preferred over a valid saved selection.