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

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

Open
danbarr opened this issue Jan 9, 2025 · 0 comments · May be fixed by #539
Open

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

danbarr opened this issue Jan 9, 2025 · 0 comments · May be fixed by #539
Labels

Comments

@danbarr
Copy link
Collaborator

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

@danbarr danbarr added the bug label Jan 9, 2025
@ptelang ptelang linked a pull request Jan 10, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants