Skip to content

feat(opencode): added logic to probe loaded models from lmstudio and ollama - #8748

Closed
goniz wants to merge 1 commit into
anomalyco:devfrom
goniz:local-providers
Closed

feat(opencode): added logic to probe loaded models from lmstudio and ollama#8748
goniz wants to merge 1 commit into
anomalyco:devfrom
goniz:local-providers

Conversation

@goniz

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Added core logic for enumerating loaded models from Ollama and LMStudio in packages/opencode/src/provider/local/index.ts
  • Added debug cli opencode debug provider probe <type: ollama|lmstudio> <url: string>

How did you verify your code works?

imageimage

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

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

Potential Duplicate Found

PR #8359 - feat(opencode): add auto model detection for OpenAI-compatible providers
#8359

Why it might be related:
This PR appears to be related to auto model detection for providers, which overlaps with the current PR's goal of probing/enumerating loaded models from local providers (LMStudio and Ollama). Both PRs deal with automatic model discovery and detection logic within the provider system.

@willie

Copy link
Copy Markdown

Fantastic work, I need this.

@goniz
gonizforce-pushed the local-providers branch 4 times, most recently from de362a4 to b8470a9CompareJanuary 22, 2026 07:04
@goniz
gonizforce-pushed the local-providers branch 2 times, most recently from 6386a51 to 7b6bef5CompareJanuary 26, 2026 23:29
@thdxr
thdxrforce-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7CompareJanuary 30, 2026 14:37
@goniz

goniz commented Feb 5, 2026

Copy link
Copy Markdown
ContributorAuthor

Closing in favor of #11951

@gonizgoniz closed this Feb 5, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@goniz@willie