You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
Context:
We have an option to add a preInstruction text to Cody in the VS Code extension. Cody adds the preInstruction to the prompt here.
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:
Disable preinstructions and ship a stable patch release. If this is an experimental feature (need to check!) then this is OK, otherwise a bad idea.
Move the preInstruction into a separate message.
Check our logic in Cody Gateway to confirm why prompts with the preInstruction are being flagged.
The text was updated successfully, but these errors were encountered:
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.)
So using this wouldn't cause the unknown_prompt flag to trigger. However, the request could get flagged if there were "forbidden phrases" in the preInstruction. Or if it were large enough to influence the "token size of the request".
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: