SenseTime-Copilot / Raccoon

Raccoon is Another Code CO-pilot Navigator
9 stars 1 forks source link

[Need Improvement] #32

Open chaofanat opened 3 months ago

chaofanat commented 3 months ago

Type: Bug

Your question

解释下

  inputElement.addEventListener('blur', function() {

    inputElement.remove();
  });

Raccoon's answer

这段代码是添加到一个input元素的blur事件监听

Raccoon's error

Inappropriate input/output rejected for security reasons

Your expection

Extension version: 0.67.0 VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 5700U with Radeon Graphics (16 x 1797)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|13.86GB (6.22GB free)| |Process Argv|--crash-reporter-id a59eaee7-0787-4b4d-b80a-07c1a830c06e| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30992801 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 d6fi2104:30959263 cppperfcontrol:30979541 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 ccp2r3:30993541 dsvsc020:30976470 pythonait:30996668 gee8j676:30988843 dsvsc021:30996838 ```
chaofanat commented 3 months ago

RACCON是我用过的最好的代码助手,但是最近的对输出内容的安全管控过于严苛,很多正常的提问以及回答都被reject了,希望能有所改进,很奇怪,这么好的项目使用的人却很少。