# assistant2: Allow creating agent profiles via settings \(\#27216\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4b5df2189b9d6d2ed183cfbced7e502884cd3d48)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4b5df2189b9d6d2ed183cfbced7e502884cd3d48

Requested commit: 4b5df2189b9d6d2ed183cfbced7e502884cd3d48

Commit: 4b5df2189b9d6d2ed183cfbced7e502884cd3d48

Tree: 780925b4f0f7940591b378696be108901a4bda19

Author: Marshall Bowers

Committer: GitHub

## Message

````
assistant2: Allow creating agent profiles via settings (#27216)

This PR adds support for creating new agent profiles via the settings:

```json
{
  "assistant": {
    "profiles": {
      "lua": {
        "name": "Lua",
        "tools": {
          "lua-interpreter": true
        }
      },
      "lua-thinking": {
        "name": "Lua + Thinking",
        "tools": {
          "lua-interpreter": true,
          "thinking": true
        }
      }
    }
  }
}
```

Release Notes:

- N/A
````

## Parents

- [48b1a43f5e41d8e310b3b2d0bbd428e21c7fbc7a](https://git.cafe/gitcafe/zed/commit/48b1a43f5e41d8e310b3b2d0bbd428e21c7fbc7a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4b5df2189b9d6d2ed183cfbced7e502884cd3d48?format=markdown)
