kagisearch / browser_extensions

Official companion browser extensions for Kagi Search (Chrome, Firefox)
MIT License
84 stars 21 forks source link

Summary API key keeps unsetting itself so changing the model is impossible #63

Closed kirawi closed 8 months ago

kirawi commented 8 months ago

Pretty much the title. It would be nice to either not reset the API key or allow users to change the model without needing to enter the API key. This could also be specific to my configuration somehow as I'm not able to use Kagi in private mode with my token without giving it permission to kagi.com

vprelovac commented 8 months ago

What version extension? What browser?

kirawi commented 8 months ago

Firefox developer 122.0b9 w/ Kagi 0.5.0

BrunoBernardino commented 8 months ago

@kirawi can you please try, in the extension's permissions/settings, disabling the "Run in Private Windows" toggle, saving the token and API key, then enabling it again?

kirawi commented 8 months ago

It unfortunately did not work.

BrunoBernardino commented 8 months ago

I'm out of ideas, here. Are there any errors anywhere? Does the API key disappear instantly (the next time you open the extension), or only after you close the browser?

kirawi commented 8 months ago

I can't find reproduction steps for this issue, so I'll close it and instead hardcode the values into a fork of the extension. No other extension/site could inspect the tokens if I hardcode them, right?

BrunoBernardino commented 8 months ago

I can't find reproduction steps for this issue, so I'll close it and instead hardcode the values into a fork of the extension. No other extension/site could inspect the tokens if I hardcode them, right?

Right.