openrouter: delegate model caching and 429 retry to provider plugin

AiProvidersInfoCache (6fb05aa) memoizes getModels(), and
AiHttpClient's ServiceUnavailableRetryStrategy (6b4d89b) retries 429.
Drop the script-level supplier memoization, 404 invalidation, manual
429 retry loop and rateLimitMessage helper.

Change-Id: I0b311a3f6787f070bd821cf5878ada4fe22a6aa1
(cherry picked from commit d5b7f223f0abdaa335718b1911cad9a774184439)
1 file changed
tree: dd933d39817855d9c6d2d59d1bdbe0303046e00b
  1. admin/
  2. ai/
  3. multi-primary/
  4. replication/
  5. .gitignore
  6. README.md
README.md

Gerrit scripting plugins collection

Overview

This repository contains a collection of Gerrit scripting plugins that are intended to provide simple and useful extensions.

How to run the scripting plugins

Gerrit needs to be able to recognise the scripts syntax and being able to load them as plugins.

In order to be able to run Groovy scripts, you need to install first the Groovy scripting provider and then copy the Groovy scripts under your Gerrit /plugins directory.

Similarly for Scala scripts, you need to install the Scala scripting provider and then copy the Scala scripts under your Gerrit /plugins directory.

Administration Scripts

Gerrit multi-primary Scripts