> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trae.cn/llms.txt
> Use this file to discover all available pages before exploring further.

在 TRAE 中，你可以将终端标记为 AI 使用。这样，AI 将始终使用被标记的终端来执行命令。
## 重要提示 {#863782ec}

* 若你已将多个终端标记为 AI 使用，但当前打开了一个普通终端，则 AI 仍会优先使用最近标记的终端来执行命令。
* 若你已将多个终端标记为 AI 使用，且当前打开的是一个被标记的终端，则 AI 优先使用该终端来执行命令。

## 操作步骤 {#5a271e02}
在 **终端** 面板中，右击某个终端，然后在菜单中选择 **标记为 AI 使用**。被标记的终端右上角将出现星号。
![Image=2204x494](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/8d9e5e2d8e0b4115aa0713072161b23a~tplv-goo7wpa0wc-image.image)


