matrixgpt / matrix-chatgpt-bot

Talk to ChatGPT via any Matrix client!
GNU Affero General Public License v3.0
235 stars 63 forks source link

Using a new API Key #156

Closed ralfi closed 1 year ago

ralfi commented 1 year ago

Hi,

my first chatgpt API key is invalid after 1.4.23. Until this date everything works like a charm. Now i create a new Key without deleting the old key but the docker image breaks with a error if i use the new key.

How does changing key works?

max298 commented 1 year ago

I don't see why setting a new API key in the environment file and restarting the container shouldn't work, we do not persist the key inside our storage backend.

Can you provide some more details, maybe the error log (of course with the redacted API key 😉 ) you're getting?

ralfi commented 1 year ago

Will give you more details asap... Thanks in advance

ralfi commented 1 year ago

Thinking about my first post i forget to tell you my "free" key valid time is expired. I think that's it. Using the web interface works further but i think openai have a key signature that checks all user config settings