-
Notifications
You must be signed in to change notification settings - Fork 434
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
App sends user's OpenAPI key to Anse? #55
Comments
Hi, thanks for the find! Our logic is that the default is to request OpenAI directly; when "Use Backend" option is checked, the requests are forwarded through our backend api (but they are safe, reference anse/src/logics/conversation.ts Lines 124 to 137 in b9ae7d3
However, we have a bug where the option may be turned on but shown as unchecked (because of a bug in getting local setting items). You can try to re-check and un-check it to ensure directly request. |
Here's a screenshot I took of the network when this is happening. As you can see, all the actual inference/ However even then you can see that the requests to summarize ( |
I got it. The request used to summarize the conversation title seems to have incorrectly ignored this setting item. I'll fix it later. |
fixed in 924393b, you can try it again, thanks! |
Works great now! Thanks for the quick fix @ddiu8081 |
fix: rapid request don't read settings, link anse-app#55
What operating system are you using?
Doesn't matter
What browser are you using?
Doesn't matter
Describe the bug
When using https://anse.app/ and using my own OpenAPI key, I'm noticing that your app is making a request to https://anse.app/api/handle/provider-openai and it contains my API key in the body of the summarize request.
I can understand doing that when the "Use Backend" option is on but when it's off, you really should not be sending my API key anywhere.
What provider are you using?
OpenAI
What prompt did you enter?
No response
Console Logs
No response
Participation
The text was updated successfully, but these errors were encountered: