# Fall back to old key when loading agent settings \(\#30001\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7d361ec97e50cec3adfb1130aa344fe4b940d8fe

Requested commit: 7d361ec97e50cec3adfb1130aa344fe4b940d8fe

Commit: 7d361ec97e50cec3adfb1130aa344fe4b940d8fe

Tree: d8ae258c9d5cce88635495abd33d68b839ef7370

Author: Cole Miller

Committer: GitHub

## Message

```
Fall back to old key when loading agent settings (#30001)

This PR updates #29943 to fall back to loading agent panel settings from
the old `assistant` key if the `agent` key is not present. Edits to
these settings will also target `assistant` in this situation instead of
`agent` as before.

Release Notes:

- Agent Beta: Fixed a regression that caused the agent panel not to
load, or buttons in the agent panel not to work.
```

## Parents

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

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