Install

Works with Drupal: ^10.5 || ^11.2

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 65.27 KB
MD5: 84587ab6aaeaa196b248153c3f024cd4
SHA-1: 759d80a2d2524ec0fc7420c93d0b73004ac52761
SHA-256: ac41da847c3b4f0e751805eb35bedf9f3691e94ebebe3cd3ebdc4bca65a8be69
Download zip 96.79 KB
MD5: 4f13ca213d715c189142f716e9fdf480
SHA-1: 8eedf2223f50a836e3d9175af84cf21f61d27838
SHA-256: 924a1edda4bd7bdb9f54ceccc9090158e9bed5f7db8dd5977d1bbd49be5db52b

Release notes

This patch release improves model selection reliability, image generation, and compatibility with Drupal AI.

Fixes

  • Preserve saved model selections when OpenRouter model discovery fails or returns a partial catalog. Remove fictional fallback models and cache only complete catalogs. Resolves #3635366; thanks to jurius for reporting the problem.
  • Exclude batch-only and native-image-only models from operations that use chat completions.
  • Correct non-streamed cached-token accounting to match streaming responses.
  • Avoid referencing a PDF capability enum case absent from older supported AI versions.
  • Normalize missing image indexes before SDK decoding, restoring image generation through chat completions.
  • Correct the default Gemini embedding-001 vector size to 3072. Explicit requests for 768 dimensions continue to work.

Updating

No database updates are required for these provider changes. Rebuild Drupal caches after updating. Existing Gemini vector indexes are not resized automatically: verify index dimensions and any explicit truncation settings before reindexing.

Verification

Verified on Drupal 11.4.12, AI 1.5.2, PHP 8.4 and openai-php/client 0.21.0. Unit tests: 3 passed. Kernel tests with live calls disabled: 28 passed, 23 skipped. Functional tests: 10 passed, 7 skipped. The separate image suite passed all 7 tests, including three live generations. Live Gemini requests confirmed default and explicitly requested dimensions. These runs overlap and should not be added together.

Existing upstream deprecations remain. The full live chat/assistant suite and a complete minimum-supported-version matrix were not run. New regression coverage includes catalog failures and recovery, browser settings saves, token usage, and SDK image decoding.

Created by: bdsweb
Created on: 13 Nov 2026 at 07:04 UTC
Last updated: 13 Nov 2026 at 07:04 UTC
Bug fixes

Other releases