0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ZedでLLM ProviderをLM Studioにするためにやったこと

0
Posted at

前提

  • Mac(Mシリーズ)を使っている
  • LM Studioを使っている。デスクトップアプリとCLI(lms)をインストールしている
  • Zedを使っている
  • LM StudioやZed自体の話はここではなし

背景

  • LM StudioにダウンロードしたローカルモデルをZedのAgent Panelで使いたくなった
  • Agent Panelで選択できるLLM ProviderにLM Studioを選びたかったが、ちょっと手間取ったので備忘録として記載

困ったこと

モデルは違うが、公式の記載の通りにlms serverは起動し、単純にAgent PanelのSettingsで画像の通りに記入し、Connectを押しても選択モデルにでLM Studioが有効化されなかった

zedlmstudio.png

やったこと

  • LM Studioのデスクトップアプリを起動し、Local Server > Server Settings > Serve on Local Networkを有効にする

スクリーンショット 2026-05-24 23.01.46.png

ServerのURLが変わるのでその変わったURLをAPI URLに入力し、Connectedを押す。API KeyはなくてOK。こうすることでLLM ProviderとしてLM Studioを認識し、LM StudioでダウンロードしたモデルをZedのAgentとして使用することができるようになった。
lmsapiv0.png

こうなったところでModelをloadして開始する。
loadmodel.png

補足
きちっとAPIを活用するならAuthenticationを抑えつつ、APIのドキュメントを読んで使いましょう。

以上、どこかでお役に立てれば幸いです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?