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

Should have a way to use API keys without sending them to the LLM #4

Open
wch opened this issue Aug 9, 2024 · 0 comments
Open

Should have a way to use API keys without sending them to the LLM #4

wch opened this issue Aug 9, 2024 · 0 comments

Comments

@wch
Copy link
Collaborator

wch commented Aug 9, 2024

Many useful applications use web APIs which require an API key. Currently, the only reasonable way to use a key is to have a password input for the API key, but then each time the app is restarted, it requires filling in the API key again.

If the API key is stored in a file like .env, then that file would be sent to the LLM each time the user sends a message.

One way to do this is to have the shinylive window just not send files that start with . to the parent window when the parent requests the current files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant