LM Studio Model? #3500

Open
opened 2026-02-16 17:40:22 -05:00 by yindo · 2 comments
Owner

Originally created by @dustinwloring1988 on GitHub (Dec 12, 2025).

Question

I saw this support LM Studio and I was interested in fine-tuning an open source model to be better with the tool calls from opencode and more efficient with them. A few question before I start and also seeing if anyone would be interested in getting a dataset going.

  • Has anyone done this yet with good results?
  • Is anyone interested in helping with this?
  • Do you currently use a reliable small local model that work well?
Originally created by @dustinwloring1988 on GitHub (Dec 12, 2025). ### Question I saw this support LM Studio and I was interested in fine-tuning an open source model to be better with the tool calls from opencode and more efficient with them. A few question before I start and also seeing if anyone would be interested in getting a dataset going. - Has anyone done this yet with good results? - Is anyone interested in helping with this? - Do you currently use a reliable small local model that work well?
Author
Owner

@github-actions[bot] commented on GitHub (Dec 12, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4851: How can I use the local model of ollama?

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 12, 2025): This issue might be a duplicate of existing issues. Please check: - #4851: How can I use the local model of ollama? Feel free to ignore if none of these address your specific case.
Author
Owner

@JosXa commented on GitHub (Dec 12, 2025):

Interesting. One thing you could train it on is the parallel tools calls: https://github.com/sst/opencode/blob/dev/AGENTS.md

On another note, I had to manually specify my LM Studio models like this in the OC config.json:

    "lmstudio": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "LM Studio (local)",
      "options": {
        "baseURL": "http://127.0.0.1:1234/v1"
      },
      "models": {
        "mistral/devstral-small-2-24b-instruct-2512": {
          "name": "DevStral Small 2"
        }
      }
    }

HTH

@JosXa commented on GitHub (Dec 12, 2025): Interesting. One thing you could train it on is the parallel tools calls: https://github.com/sst/opencode/blob/dev/AGENTS.md On another note, I had to manually specify my LM Studio models like this in the OC config.json: ```json "lmstudio": { "npm": "@ai-sdk/openai-compatible", "name": "LM Studio (local)", "options": { "baseURL": "http://127.0.0.1:1234/v1" }, "models": { "mistral/devstral-small-2-24b-instruct-2512": { "name": "DevStral Small 2" } } } ``` HTH
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3500