RikudouSage / harbour-chatgpt

ChatGPT client for Sailfish OS
MIT License
5 stars 2 forks source link

Secret with name apiKey not found #15

Closed mstodieck closed 1 year ago

mstodieck commented 1 year ago

Hi, there is a (little) problem when using the openai API key inside the app. It seems to me that the key cannot be handled in the secrets manager. Each time I start the app, I have to enter the API key again. Regarding logs the key is accepted/tested (response: 200) but cannot be read from the secrets manager again to be used with openai API. Log error is: Request for secret failed: Not connected to daemon.

The result is no answer from the openai API.

Phone: Sony Xperia XA2 Sailfish OS: 4.5.0.19 ChatGPT: 0.9.5 (latest available in Jolla store)

ChatGPT.2023-03-24T08-52-12.log

RikudouSage commented 1 year ago

Hello, I'll release a (hopefully) fixed version today. I'm not 100% sure if the fix in #16 will be enough, if not I'd appreciate if you let me know and I'll investigate further.