Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Option to Hide OpenAI Models #723

Open
jason-riddle opened this issue Jan 27, 2025 · 1 comment
Open

[Feature Request] Option to Hide OpenAI Models #723

jason-riddle opened this issue Jan 27, 2025 · 1 comment

Comments

@jason-riddle
Copy link

jason-riddle commented Jan 27, 2025

Running llm models lists the following models:

OpenAI Chat: gpt-4o (aliases: 4o)
OpenAI Chat: gpt-4o-mini (aliases: 4o-mini)
OpenAI Chat: gpt-4o-audio-preview
[ continued.. ]

For my use case, I'm not interested in using the OpenAI API. So, I would like a way to hide these OpenAI models since it just adds visual clutter for me. Right now I'm doing the following to hide these models

llm models | grep -v "^OpenAI"
@jason-riddle jason-riddle changed the title [Feature Request] Hide OpenAI Models [Feature Request] Option to Hide OpenAI Models Jan 27, 2025
@bocytko
Copy link

bocytko commented Feb 1, 2025

I guess the reason for this is that the openai model support is part of the default plug-in bundled with llm.

While you could patch locally and add a --no-open-ai param to skip the part registering openai models, I'd guess one possible solution would be extracting the current default plug-in into separate openai and openai-extra plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants