Graceful error handling when an AI Provider is not setup correctly

Created on 29 September 2025, 6 days ago

Problem/Motivation

On the search server setup page, the whole page goes WSOD if one of the providers is not setup correctly and doesn't handle errors correctly.

An example of this is the Gemini provider, when no key is setup.

We should not make it impossible to save any other type of Search API server, just because one provider is not setup correctly.

Steps to reproduce (required for bugs, but not feature requests)

  • Install the Gemini Provider.
  • Install the Search API and Search AI modules.
  • Go the the Search API page for creating a new server.

Proposed resolution

Make sure that it gracefully catches the provider error and still allows other types of Search API servers to be created.

πŸ› Bug report
Status

Active

Version

1.2

Component

AI Search

Created by

πŸ‡©πŸ‡ͺGermany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024