# agent_ui: Insert thread summary as proper mention URI \(\#40722\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 743180342a57892417dbbcfc6e6a0232dbe966e2

Requested commit: 743180342a57892417dbbcfc6e6a0232dbe966e2

Commit: 743180342a57892417dbbcfc6e6a0232dbe966e2

Tree: 8ffbc2a6cec6abc174fcc644e4be0af6824f382f

Author: Paweł Kondzior

Committer: GitHub

## Message

```
agent_ui: Insert thread summary as proper mention URI (#40722)

This ensures the thread summary is treated as a tracked mention with
accessible context.

Changes:
- Fixed `MessageEditor::insert_thread_summary()` to use proper mention
URI format
- Added test coverage to verify the fix

Release Notes:

- Fixed an issue where "New From Summary" was not properly inserting
thread summaries as contextual mentions when creating new threads.
Thread summaries are now inserted as proper mention URIs.
```

## Parents

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

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