Skip to content

Actually query ollama to show available models and model details #3944

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AdamNiederer
Copy link

Partially resolves #3081

To fully resolve, the ollama/* models from the JSON blob here should also be removed: https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json

@CLAassistant
Copy link

CLAassistant commented May 4, 2025

CLA assistant check
All committers have signed the CLA.

AdamNiederer added a commit to AdamNiederer/aidermacs that referenced this pull request May 4, 2025
There are circumstances, e.g. when using ollama, where aider will not give us
a correct list of models, instead providing some defaults that nobody uses
anymore (llama2 etc). Requiring an exact match in this case blocks users from
selecting the model they wish to select.

Ref:
Aider-AI/aider#3081
Aider-AI/aider#3944
MatthewZMD pushed a commit to MatthewZMD/aidermacs that referenced this pull request May 4, 2025
There are circumstances, e.g. when using ollama, where aider will not give us
a correct list of models, instead providing some defaults that nobody uses
anymore (llama2 etc). Requiring an exact match in this case blocks users from
selecting the model they wish to select.

Ref:
Aider-AI/aider#3081
Aider-AI/aider#3944
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

Successfully merging this pull request may close these issues.

Ollama model list and aider model list differ
2 participants