For more information about this repository, visit the project page at https://www.drupal.org/project/ai_provider_litellm
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-19 18:00:39 +00:00
config Added default config and schema. 2025-02-24 16:02:52 +00:00
src feat: #3614793 Support speech_to_text 2026-08-19 18:00:39 +00:00
.gitlab-ci.yml Add Drupal GitLab CI. 2025-02-28 09:44:00 +00:00
ai_provider_litellm.info.yml Automated Project Update Bot fixes from run 12-839256. 2026-06-09 16:43:21 +00:00
ai_provider_litellm.install Resolve #3545377 "Notify that openai" 2025-09-08 08:07:38 +00:00
ai_provider_litellm.links.menu.yml Tweaks from review and testing. 2025-02-25 15:09:46 +00:00
ai_provider_litellm.routing.yml Issue #3532628: Fix linting 2025-07-22 18:09:02 +02:00
composer.json [#3555378] fix: Remove leftover dependency from ai_provider_openai 2025-10-31 10:27:10 +00:00
README.md Resolve #3550655 "Override handleapiexception to" 2025-10-07 08:41:46 +00:00

LiteLLM AI Provider

Introduction

This Drupal module provides an integration with LiteLLM, a lightweight service that you can self-host that provides a unified interface for various Large Language Models (LLMs).

This module allows you to use LiteLLM as an AI Provider in your Drupal application, enabling you to leverage the power of different LLMs through a single, consistent API.

Features

  • Provides an AI Provider plugin for LiteLLM.
  • Allows configuration of the LiteLLM API endpoint and other settings.
  • Enables seamless switching between different LLMs supported by LiteLLm.

Requirements

  • Drupal 10.2 or later.
  • An API key to a LiteLLM service.

Installation

  1. Install the module via Composer:
    composer require drupal/ai_provider_litellm
    
  2. Enable the module in your Drupal site.

Contributing

Contributions are welcome! Please feel free to open an issue or submit a pull request.