-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preInstructions get Cody promps flagged #63293
Comments
Are you sure this is the problem? Cody Gateway just checks that the prompt contains a specific string. So adding anything in addition to the prompt prefix won't cause any problems. (It doesn't even need to be a prefix.) |
Yes, this seems highly unlikely to cause any problems.
const intro = ps`You are Cody, an AI coding assistant from Sourcegraph. ${
preInstruction ?? ''
}`.trim()
So using this wouldn't cause the |
Context:
We have an option to add a
preInstruction
text to Cody in the VS Code extension. Cody adds thepreInstruction
to the prompthere.
Problem:
It seems like we are banning users who are using the
preInstruction
config. It seems quite widespread anecdotally: we’ve seen 3 in the last 24h.Solution ideas:
preinstructions
and ship a stable patch release. If this is an experimental feature (need to check!) then this is OK, otherwise a bad idea.preInstruction
are being flagged.The text was updated successfully, but these errors were encountered: