LLocalSearch icon indicating copy to clipboard operation
LLocalSearch copied to clipboard

Model doesnt respond if there is html code in the prompt

Open dillfrescott opened this issue 1 year ago • 6 comments

Hmmm it seems to just ignore the prompt entirely.

dillfrescott avatar Apr 05 '24 18:04 dillfrescott

Also, it seems to squish your prompt together and removes any line breaks after its sent.

dillfrescott avatar Apr 05 '24 18:04 dillfrescott

Also happens with other code styles such as CSS

dillfrescott avatar Apr 05 '24 21:04 dillfrescott

image

could you plase give me some examples?

nilsherzig avatar Apr 05 '24 21:04 nilsherzig

Screenshot_20240405_173651

dillfrescott avatar Apr 05 '24 21:04 dillfrescott

This is qwen 1.5 32b

dillfrescott avatar Apr 05 '24 21:04 dillfrescott

This is qwen 1.5 32b

Damn 32b sounds nice, especially with GQA. I really need some more vram.

image

Curling the backend works, i guess its some sort of filter against xss attacks in the browser / js framework?. We might need to encode the prompt using base64 and decode it in the backend haha

nilsherzig avatar Apr 06 '24 08:04 nilsherzig