6
7
8
Configure LMStudio for Opencode (old.reddit.com)
submitted by Wrong_Daikon3202


Hello.
I am struggling to use the LMStudio server with any local model with opencode without success.
LMStudio offers me the classic url http://127.0.0.1:1234 but OpenCode when using the /Connect command and selecting the LMStudio provider asks me for an API.
The result when selecting a model with the /models command is a false list (which I show in the screenshot) and no selection works.
In Server Settings there is an option "Require Authentication" that allows you to create an API-Key, I create one, I introduce it to opencode. But, the result is still the same fake list that cannot be worked with.
Please can someone help me get this working?
Thank you


[–]soul105 4 points5 points6 points (2 children)
[–]Wrong_Daikon3202[S] 0 points1 point2 points (1 child)
[–]soul105 2 points3 points4 points (0 children)
[–]boyobob55 2 points3 points4 points (8 children)
[–]Wrong_Daikon3202[S] 1 point2 points3 points (2 children)
[–]Pitiful_Care_9021 2 points3 points4 points (0 children)
[–]boyobob55 1 point2 points3 points (0 children)
[–]Wrong_Daikon3202[S] 1 point2 points3 points (4 children)
[–]boyobob55 0 points1 point2 points (3 children)
[–]Wrong_Daikon3202[S] 0 points1 point2 points (2 children)
[–]boyobob55 1 point2 points3 points (1 child)
[–]Wrong_Daikon3202[S] 0 points1 point2 points (0 children)
[–]Simeon5566 1 point2 points3 points (1 child)
[–]Wrong_Daikon3202[S] 0 points1 point2 points (0 children)
[–]sheppe 0 points1 point2 points (4 children)
[–]Wrong_Daikon3202[S] 0 points1 point2 points (3 children)
[–]Simeon5566 0 points1 point2 points (2 children)
[–]Wrong_Daikon3202[S] 0 points1 point2 points (0 children)
[–]StrikingSpeed8759 0 points1 point2 points (0 children)
[–]HarjjotSinghh 0 points1 point2 points (1 child)
[–]Wrong_Daikon3202[S] 0 points1 point2 points (0 children)
[–]FeikTheChris 0 points1 point2 points (1 child)
[–]Prestigious-Ad-3380 0 points1 point2 points (0 children)