# agent_ui: Fix \`context_server\` duplication when name is updated \(\#35403\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b35959f4c2e5b1550a32ce8fc0dff57415eb11bc

Requested commit: b35959f4c2e5b1550a32ce8fc0dff57415eb11bc

Commit: b35959f4c2e5b1550a32ce8fc0dff57415eb11bc

Tree: 87dcb326f4cd5f6dc1eb81554cebc0196780fbd3

Author: Umesh Yadav

Committer: GitHub

## Message

```
agent_ui: Fix `context_server` duplication when name is updated (#35403)

Closes #35400

| Before | After |
|--------|--------|
| <video
src="https://github.com/user-attachments/assets/6aae34ca-e022-457a-9b66-47b85c976b23"/>
| <video
src="https://github.com/user-attachments/assets/ae058988-8f70-4605-b537-e045175d2e75"
/> |

Release Notes:

- agent: Fix `context_server` duplication when name is updated

---------

Signed-off-by: Umesh Yadav <git@umesh.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
```

## Parents

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

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