microsoft / microsoft/copilot-for-eclipse

[Feat] Show context size of Ollama models

Open
#410 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
126
Forks
60
Avg merge
2d 6h
Merged PRs (30d)
5

Description

Is your feature request related to a problem? Please describe.
This is a nice-to-have: In version 0.21 of the Copilot plugin, Ollama has been added as a provider for models. For the built-in models, the context window size is shown on the model information card. But for Ollama models this information is absent, also the context window information overlay shows that information.

Describe the solution you'd like
So in line with e.g. the model information card for Claude Sonnet 4.5:

Image

it would be nice also to have the context window size shown for local models:

Image

Describe alternatives you've considered

Additional context
Here the context window information overlay I mean, which shows a context window size of 256K:

Image

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 Ollama provider supplies model metadata to the model information card and the context window information overlay, then compare it with the built-in model path. The feature is done when the Ollama model context window size appears in both places, matching the existing display for built-in models.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, ollama
Domain
ai, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.