feat: fix broken links
This commit is contained in:
parent
3e1e0ea9bd
commit
66345e8355
8 changed files with 7 additions and 12 deletions
|
|
@ -530,10 +530,6 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
|
|||
|
||||
You'll then be able to type "@" and see "MCP" in the context providers dropdown.
|
||||
|
||||
### Prompt Files
|
||||
|
||||
See [Prompt Files](./deep-dives/prompt-files.md). Prompt files are not added directly to the config file; prompt files are parsed and injected into the config automatically, to be used like other context providers.
|
||||
|
||||
### `@Issue`
|
||||
|
||||
Reference the conversation in a GitHub issue.
|
||||
|
|
@ -883,7 +879,6 @@ You can override this query by setting the `issueQuery` parameter.
|
|||
|
||||
You can set the `maxResults` parameter to limit the number of results returned. The default is `50`.
|
||||
|
||||
|
||||
### `@Discord`
|
||||
|
||||
Reference the messages in a Discord channel.
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ The easiest way to add a slash command is by adding [`prompt` blocks](../../hub/
|
|||
|
||||
It is also possible to write your own slash command by defining a “.prompt file.” Prompt files can be as simple as a text file, but also include templating so that you can refer to files, URLs, highlighted code, and more.
|
||||
|
||||
Learn more about prompt files [here](./prompt-files.md)
|
||||
Learn more about prompt files [here](./prompts.md)
|
||||
|
||||
### MCP Server prompts
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ To make common use cases even more accessible, we provide a handful of other way
|
|||
|
||||
## Quick actions
|
||||
|
||||
Quick Actions are displayed as buttons above top-level classes and functions in your source code, letting you invoke actions with one click. They will edit that class or function, but nothing outside of it. They can also be customized with [.prompt files](./prompt-files.md) to perform custom actions.
|
||||
Quick Actions are displayed as buttons above top-level classes and functions in your source code, letting you invoke actions with one click. They will edit that class or function, but nothing outside of it. They can also be customized with [.prompt files](./prompts.md) to perform custom actions.
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ Then, create a server that responds to requests as are made from [HttpContextPro
|
|||
The `"options"` property can be used to send additional parameters to your endpoint, which will be included in the request body.
|
||||
|
||||
:::info
|
||||
The following methods for creating custom context providers are deprecated. We recommend using HTTP context providers, [MCP Servers](../context-providers.mdx#model-context-protocol), and [Prompt files](../deep-dives/prompt-files.md) where possible.
|
||||
The following methods for creating custom context providers are deprecated. We recommend using HTTP context providers, [MCP Servers](../context-providers.mdx#model-context-protocol), and [Prompts](../deep-dives/prompts.md) where possible.
|
||||
:::
|
||||
|
||||
## Using CustomContextProvider
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ title: Build your own slash command
|
|||
---
|
||||
|
||||
:::info
|
||||
Slash commands can currently only be added using [`config.json`](../../json-reference.md) or `config.ts`. The [`YAML Config Format`](../../reference.md) is the new and preferred format. We recommend looking into [Prompt Files](../deep-dives/prompt-files.md) to achieve similar functionality.
|
||||
Slash commands can currently only be added using [`config.json`](../../json-reference.md) or `config.ts`. The [`YAML Config Format`](../../reference.md) is the new and preferred format. We recommend looking into [Prompt Files](../deep-dives/prompts.md) to achieve similar functionality.
|
||||
:::
|
||||
|
||||
There are two ways to add custom slash commands:
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ Learn more in the [rules deep dive](../../customize/deep-dives/rules.md), and vi
|
|||
|
||||
Prompts blocks are pre-written, reusable prompts that can be referenced at any time during chat. They are especially useful as context for repetitive and/or complex tasks. [Explore prompts](https://hub.continue.dev/explore/prompts) on the hub.
|
||||
|
||||
Prompt blocks have the same syntax as [prompt files](../../customize/deep-dives/prompt-files.md). The `config.yaml` spec for `prompts` can be found [here](../../reference.md#prompts).
|
||||
Prompt blocks have the same syntax as [prompt files](../../customize/deep-dives/prompts.md). The `config.yaml` spec for `prompts` can be found [here](../../reference.md#prompts).
|
||||
|
||||
## Data
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Continue 有一个大的内置斜杠命令库,但是当你首次安装时,
|
|||
|
||||
有两种方法添加定制斜杠命令:
|
||||
|
||||
1. 使用 `.prompt` 文件 - 这是大多数情况下推荐的。[在这里](../customize/deep-dives/prompt-files.md) 查看完整参考。
|
||||
1. 使用 `.prompt` 文件 - 这是大多数情况下推荐的。[在这里](../customize/deep-dives/prompts.md) 查看完整参考。
|
||||
2. 使用 `config.ts` - 这给你对于 LLM, IDE 和其他重要的入口可编程的访问,通过编写 JavaScript/TypeScript 函数
|
||||
|
||||
### 使用 `config.ts` 定制斜杠命令
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ Actions 是常见用例的快捷方式。例如,你可能想要审查代码,
|
|||
|
||||
通过定义一个 ".prompt 文件" ,也可以编写你自己的斜杠命令。 prompt 文件可以是个简单的文本文件,但是也包含模板,所以你可以引用文件, URL ,高亮代码以及更多。
|
||||
|
||||
完整的 .prompt 文件可以参考 [这里](../customize/deep-dives/prompt-files.md) 。
|
||||
完整的 .prompt 文件可以参考 [这里](../customize/deep-dives/prompt.md) 。
|
||||
|
||||
:::tip[Prompt 库]
|
||||
为了帮助你开始,[我们精心编写了一个小的 `.prompt` 文件库](https://github.com/continuedev/prompt-file-examples) 。我们鼓励社区贡献到这个仓库,所以请考虑为你的 prompt 创建一个拉取请求!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue