Skip to content

Model dropdown empty in Firefox until saving Ollama as providerΒ #978

@jeffpaul

Description

@jeffpaul

Describe the bug

When configuring Ollama as the service provider (e.g., for Title Generation), the Model selection dropdown is empty at first. Only after saving Ollama as the chosen provider and refreshing the settings page do the models appear in the dropdown.

Steps to Reproduce

  1. Open WordPress Admin > Tools > ClassifAI.
  2. Navigate to a feature such as Title Generation.
  3. Select Ollama as the service provider.
  4. Open the Model dropdown.

Expected: Available Ollama models appear immediately.
Actual: Dropdown is empty until saving and reloading.

Screenshots, screen recording, code snippet

Screen-Recording-2025-08-18-at-6.40.06.PM.mp4

Environment information

Browser: Firefox (latest)
Plugin: ClassifAI 3.5.0
WP version: 6.8.2

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

To Do

Relationships

None yet

Development

No branches or pull requests

Issue actions