LostRuins / koboldcpp

A simple one-file way to run various GGML and GGUF models with KoboldAI's UI
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.35k stars 312 forks source link

Make text in "Input Kobold API Key" as dots #851

Open unixshaman opened 1 month ago

unixshaman commented 1 month ago

Now text in "Input Kobold API Key" visible. image

How about making a field as password type and adding an eye symbol so that you can see the password if necessary? image

unixshaman commented 1 month ago

Thanks for working on my issue.

I check relese 1.66.1.

LostRuins commented 1 month ago

Hi, can you try 1.67? I think I fixed it properly this time.

unixshaman commented 1 month ago

- When user click field for input key, it has text type and key visible again. Its not good. + Key not visible when click somewhere else. - I dont now how, but now Chrome offers a list of saved keys not for ai.site.com, but also from all sites like a.site.com, b.site.com, c.site.com and so on. And if I select some of passwords, its become a visible.

I think key must be visible if user click on icon with eye, because onfocus is random operation (when the user moves the mouse across the screen).

LostRuins commented 1 month ago

onfocus should only apply when clicking into the textbox. Which is the same behavior for all other password fields in kobold lite, like the other API keys etc