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

生成长代码有问题Problems with generating long code #2017

Closed
Davidasx opened this issue Oct 24, 2024 · 3 comments
Closed

生成长代码有问题Problems with generating long code #2017

Davidasx opened this issue Oct 24, 2024 · 3 comments

Comments

@Davidasx
Copy link

Davidasx commented Oct 24, 2024

Type: Bug

生成400行长代码有很大的困难。如果代码较长(例如flask-gpt),AI将会在写完大约200-300行代码后反复从头开始写并将开头的代码附加到输出中。随后,显示结果被负责任的AI过滤。
The AI has great difficulty generating long code. If the code is long(400 lines of HTML, for example, see flask-gpt), the AI will hallucinate and generate the code from the beginning after writing 200-300 lines. It will append the code from the beginning into the output and writing repeated code. After that, it will report that the result has been filtered by responsible AI.

Extension version: 0.22.2024100702
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Linux x64 6.11.5-arch1-1
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz (4 x 2893)
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 2, 1, 1
Memory (System) 15.47GB (10.97GB free)
Process Argv /home/davidx/Desktop/flask-gpt/index.html --crash-reporter-id f57196ed-b524-4dc4-b52b-b1f389703c45
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE wayland
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
nativeloc1:31134641
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca2:31156134
notype1:31157159
5fd0e150:31155592
dwcopilot:31164048
icondisabled:31158250

@vs-code-engineering vs-code-engineering bot added translation-required-chinese-simplified info-needed Issue requires more information from poster labels Oct 24, 2024
Copy link

感谢您创建此问题!

然而,由于您没有使用英语,我们很难进行处理。如果可能,请您将此问题描述修改为英文。请您直接编辑此问题,不要提交回复或新问题。

请注意,机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言,所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。

如果您无法做到,没有关系。此问题已经被标记为需要翻译,等待社区成员志愿进行翻译。


Thanks for creating this issue!

Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.

In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.

Otherwise, we have marked this as needing translation and a community member may be able to help out.

@Davidasx
Copy link
Author

Hi, admins. I've translated into English myself. I know English, just too lazy to translate it at first...
Sorry for the inconvenience.

@Davidasx Davidasx changed the title 生成长代码有问题 生成长代码有问题Problems with generating long code Oct 24, 2024
@digitarald
Copy link
Contributor

Duplicate of #2628

@digitarald digitarald marked this as a duplicate of #2628 Dec 10, 2024
@digitarald digitarald closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2024
@digitarald digitarald added infinite-response-loop and removed info-needed Issue requires more information from poster translation-required-chinese-simplified labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants