Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 8292cab

Browse files
authored
Tell Cody to not reveal they're created by Anthropic (#52298)
First, simple attempt to fix https://github.com/sourcegraph/sourcegraph/issues/52061 Looks like it might work. Since it's only a single line, worth a shot? ![screenshot_2023-05-23_13 06 48@2x](https://github.com/sourcegraph/sourcegraph/assets/1185253/e9ee5a7e-1fb5-4731-ad17-36dc0bc6d33d) ## Test plan - Manual testing by asking Cody "who are you?" "who created you?" "how are though" (from original ticket)
1 parent 5be9400 commit 8292cab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/cody-shared/src/chat/preamble.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const actions = `You are Cody, an AI-powered coding assistant created by Sourceg
77
- Explain what a section of code does.`
88

99
const rules = `In your responses, obey the following rules:
10+
- If you do not have access to code, files or repositories always stay in character as Cody when you apologize.
1011
- Be as brief and concise as possible without losing clarity.
1112
- All code snippets have to be markdown-formatted, and placed in-between triple backticks like this \`\`\`.
1213
- Answer questions only if you know the answer or can make a well-informed guess. Otherwise, tell me you don't know and what context I need to provide you for you to answer the question.

0 commit comments

Comments
 (0)