Skip to content

Commit 1db0108

Browse files
authored
fix documentation of prompt ownership and visibility
1 parent b5b7dea commit 1db0108

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/cody/capabilities/commands.mdx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,19 @@ Click the **New prompt** button on the **Prompt Library** page to create a new p
2121
- Select the **Owner** and **Name** of the prompt
2222
- Then, write a prompt description
2323
- And finally, fill out the **Prompt template** box with all your prompt instructions
24-
- Moreover, you can mark your prompt as **Draft**. This would prevent it from being available to other users
24+
- Moreover, you can mark your prompt as **Draft**.
2525
- Once done, click the **Create prompt** button
2626

27+
The prompt is visible to and usable by:
28+
29+
- The prompt's owner: if the prompt's owner is a user
30+
- All members of the organization: if the prompt's owner is an organization
31+
- Everyone: if the prompt is marked **Public** (which only site admins can do)
32+
2733
Completing this process will do the following:
2834

2935
- The new prompt will be added to the **Prompt Library** page
30-
- If it's not a draft, it will be available to other users in your organization
31-
- The prompt will start appearing via your connected Sourcegraph instance inside Cody's VS Code extension and the Sourcegraph Web UI
36+
- The prompt will appear in the Prompts list in Cody (in the editor and on the web)
3237

3338
![prompts-in-vscode](https://storage.googleapis.com/sourcegraph-assets/Docs/prompts-ui-vscode-082024.png)
3439

0 commit comments

Comments
 (0)