GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — core: auto-discover models from OpenAI-compatible local providers by Qard · Pull Request #7644 · anomalyco/opencode

Conversation

@Qard

@Qard Qard commented Jan 10, 2026

Copy link
Copy Markdown

What does this PR do?

Attempts to auto-discover models from OpenAI-compatible providers to allow local LLM providers like Ollama and LM Studio to show their model list without needing to manually add each model. This does not auto-discover the provider itself nor does it modify model entries which already exist, so this should be non-destructive with any already provided model data.

How did you verify your code works?

I ran this locally against my Ollama instance and it showed all my local models, switching to models with auto-generated configs worked just fine with this change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Qard
core: auto-discover models from OpenAI-compatible local providers
d13337e
@github-actions github-actions Bot added the needs:title label Jan 10, 2026
@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title core: auto-discover models from OpenAI-compatible local providers doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found two potentially related PRs:

  1. PR Fetch from model list from /v1/models/ from OpenAI Compatible APIs #3427: "Fetch from model list from /v1/models/ from OpenAI Compatible APIs"

    • Fetch from model list from /v1/models/ from OpenAI Compatible APIs #3427
    • This appears to be directly related to fetching model lists from OpenAI-compatible endpoints, which is the core functionality of PR core: auto-discover models from OpenAI-compatible local providers #7644.
  2. PR Adding the auto-detection of ollama local with a variable for baseURL #3726: "Adding the auto-detection of ollama local with a variable for baseURL"

    • Adding the auto-detection of ollama local with a variable for baseURL #3726
    • This is related to Ollama auto-detection, one of the specific local providers mentioned in PR core: auto-discover models from OpenAI-compatible local providers #7644.

These PRs may have overlapping functionality or could provide context on previous attempts to solve similar auto-discovery issues.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Qard Qard closed this Jan 10, 2026
@rooftop-Owl rooftop-Owl mentioned this pull request Feb 5, 2026
Local Ollama models not included in model listing, breaking plugin model discovery #12243
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

needs:title

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Qard
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.