sourcegraph / jetbrains

Apache License 2.0
78 stars 25 forks source link

bug: Sourcegraph Cody Gateway: unexpected status code 400: {"error":"We blocked your request because we detected your prompt to be... #2628

Open AndrKul opened 1 week ago

AndrKul commented 1 week ago

IDE Information

WebStorm 2024.2 Build #WS-242.20224.342, built on August 8, 2024 Licensed to ANDREY KUILIK Subscription is active until February 24, 2025. Runtime version: 21.0.3+13-b509.4 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.windows.WToolkit Windows 11.0 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 2048M Cores: 8 Non-Bundled Plugins: com.intellij.classic.ui (242.20224.159) com.sourcegraph.jetbrains (6.0.26)

Bug Description

any question in Cody plugin produce the message :

Please retry sending your message. If you tried to run a command, try it again. If the issue persists, please create a support ticket. Error: Sourcegraph Cody Gateway: unexpected status code 400: {"error":"We blocked your request because we detected your prompt to be against our Acceptable Use Policy (https://sourcegraph.com/terms/aup). Try again by removing any phrases that may violate our AUP. If you think this is a mistake, please contact support@sourcegraph.com and reference this ID: 931b059baa33cb816b463dad90ceba2e"}

Additional context

Stacktrace:

Sourcegraph Cody Gateway: unexpected status code 400: {"error":"We blocked your request because we detected your prompt to be against our Acceptable Use Policy (https://sourcegraph.com/terms/aup). Try again by removing any phrases that may violate our AUP. If you think this is a mistake, please contact support@sourcegraph.com and reference this ID: 931b059baa33cb816b463dad90ceba2e"}
linear[bot] commented 1 week ago

BUGS-718 bug: Sourcegraph Cody Gateway: unexpected status code 400: {"error":"We blocked your request because we detected your prompt to be...