Skip to content
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

Closed
danbarr opened this issue Jan 9, 2025 · 0 comments · Fixed by #547
Closed

Secrets redaction response not working for Copilot in v0.1.5 #528

danbarr opened this issue Jan 9, 2025 · 0 comments · Fixed by #547
Assignees
Labels

Comments

@danbarr
Copy link
Contributor

danbarr commented Jan 9, 2025

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.

v0.1.5:
Image

v0.1.4, expected response:
Image

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
4 participants