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】エージェントのthinkingブロックを展開したままにする方法

0
Posted at

thinkingブロックとは

ZedのエージェントパネルでClaudeなどの拡張思考(Extended Thinking)対応モデルを使うと、モデルが回答を生成する前に「どう考えたか」をまとめた thinkingブロック が表示されます。

thinkingブロックを読むことで、AIがどのような推論を経て回答に至ったかを確認できます。複雑なコード生成やデバッグの依頼をするときなどに特に役立つ機能です。

thinking_display 設定

thinkingブロックの表示方法を制御する設定キー thinking_display が追加されました。

指定できる値は以下の3つです。

動作
automatic ストリーミング中に高さ制約付きで自動展開。完了後もその状態を維持(デフォルト)
always_expanded 常に完全展開した状態で表示する
always_collapsed 常に折りたたんだ状態で表示する

常時展開に設定する方法

thinkingブロックを常に完全展開した状態で表示したい場合は、Zedの設定ファイルに以下を追記します。

Cmd + ,(macOS)または Ctrl + ,(Windows / Linux)で設定ファイルを開き、agent セクションに thinking_display を追加してください。

{
  "agent": {
    "thinking_display": "always_expanded"
  }
}

逆に、thinkingブロックを邪魔に感じる場合は always_collapsed を指定すれば、常に折りたたんだ状態になります。

{
  "agent": {
    "thinking_display": "always_collapsed"
  }
}

参考

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?