This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Secrets redaction response not working for Copilot in v0.1.5 #528
Description
Describe the issue
Starting in v0.1.5, the secrets redaction message "CodeGate prevented X secrets from being leaked" message is not inserted into explain/chat responses anymore, and encrypted secrets in the response are not decrypted as expected. They are still detected/encrypted on the way out.
This is only affecting Copilot. Using Continue, the message is added as expected.
Revered to v0.1.4 and it's working as expected, and I can reproduce reliably on v0.1.5.
Steps to Reproduce
With CodeGate v0.1.5, use Copilot Explain or Chat with the conf.ini file from the codegate-demonstration repo.
Operating System
MacOS (Arm)
IDE and Version
VS Code 1.96.2
Extension and Version
GitHub Copilot 1.256.0
Provider
GitHub Copilot
Model
GPT-4
Logs
No response
Additional Context
No response