# Introduce \`/search\` command to assistant \(\#12372\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 59662fbeb623af036718c0642031baf5aeeec7c6

Requested commit: 59662fbeb623af036718c0642031baf5aeeec7c6

Commit: 59662fbeb623af036718c0642031baf5aeeec7c6

Tree: 3916ae94dd9f7f781d003ee3ede034fa870cf195

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Introduce `/search` command to assistant (#12372)

This pull request introduces semantic search to the assistant using a
slash command:


https://github.com/zed-industries/zed/assets/482957/62f39eae-d7d5-46bf-a356-dd081ff88312

Moreover, this also adds a status to pending slash commands, so that we
can show when a query is running or whether it failed:

<img width="1588" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/e8d85960-6275-4552-a068-85efb74cfde1">

I think this could be better design-wise, but seems like a pretty good
start.

Release Notes:

- N/A
```

## Parents

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

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