simonw / simonw/llm

Add ability to unregister / not load default OpenAI plugin

Open
#671 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.5k
Forks
991
Avg merge
3d 13h
Merged PRs (30d)
10

Description

It would be great if there was an option to unload (or not load in the first place) the default openAI plugin.

For example, LLM_LOAD_PLUGINS='' could not load the default OpenAI models.

The use case for this is that I want to provide a plugin which offers the same model names as the OpenAI plugin, but from a plugin I provide. We have a heavily customized mechanism of proxying to OpenAI, which is not amenable to using the default plugin.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the default OpenAI plugin is loaded and how the proposed LLM_LOAD_PLUGINS setting could control it. Done means users can skip the default OpenAI models while registering a replacement plugin with the same model names; verify the behavior with the project's existing plugin tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.