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

Questions remove HTML tags which makes asking BeautifulSoup/Selenium questions tricky #971

Open
gbmerrall opened this issue Dec 5, 2024 · 1 comment

Comments

@gbmerrall
Copy link

When interacting with Gemini with selemiun or beautiful soup, I often ask questions on how to locate a specific tag by some weird condition. However when I ask the question, the tags are removed.

For example:
Locate an element based on a custom attribute. In the sample below I would like to locate the based on the value of data-th. Then I would like return the value of the datetime attribute from the element

However at least in the UI, the text displayed is:
Locate an element based on a custom attribute. In the sample below I would like to locate the based on the value of data-th. Then I would like return the value of the datetime attribute from the element

I'm unsure if this is just a visual issue or if the elements don't make it through to Gemini . If the elements are stripped before being passed to Gemini this could impact the quality of the answer.

Extension version: 2.21.0
VS Code version: Code 1.95.3 (Universal) (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Darwin arm64 24.1.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 2400)
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 2
Memory (System) 8.00GB (0.07GB free)
Process Argv . --crash-reporter-id c5d72be6-21fc-49f2-96cf-3d58b0ed8a49
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
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
accentitlementsc:30995553
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca1:31156133
notype1cf:31151524
5fd0e150:31155592

@davidponder
Copy link
Contributor

Hello!

Thanks for reporting this issue. We'll take a look at this. If you happen to see this issue again locally, could you try submitting feedback by opening the Gemini Code Assist status bar -> Send Feedback option? That will provide us some logs to help deduce if this is just a visual oddity.

Thanks!

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