Skip to content

Comments

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

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

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

Conversation

@goniz
Copy link
Contributor

@goniz goniz commented Jan 15, 2026

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?

image image

@github-actions
Copy link
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
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

willie commented Jan 20, 2026

Fantastic work, I need this.

@goniz goniz force-pushed the local-providers branch 4 times, most recently from de362a4 to b8470a9 Compare January 22, 2026 07:04
@goniz goniz force-pushed the local-providers branch 2 times, most recently from 6386a51 to 7b6bef5 Compare January 26, 2026 23:29
@thdxr thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@goniz
Copy link
Contributor Author

goniz commented Feb 5, 2026

Closing in favor of #11951

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants