imagegenius / docker-ai-chat-app

GNU General Public License v3.0
25 stars 2 forks source link

API key doesn't appear to be saving #5

Closed wyliebutler closed 1 year ago

wyliebutler commented 1 year ago

API key doesn't appear to be saving . . . as a result the I cannot add to the chat window

hydazz commented 1 year ago

Is there an update available?, try force update

wyliebutler commented 1 year ago

I just did the install using the UNRAID community app. Should that be the latest?

hydazz commented 1 year ago

That will install the latest version available at the time, is there anything in the logs?

wyliebutler commented 1 year ago

Here's my log . . . nothing seems off. ╔═══════════════════════════════╗


  / / |_   _/ ____|     / /
 / /    | || |  __     / /
/ /     | || | |_ |   / /

/ / _| || || | / / /_/ |_______| //

Baseimage from linuxserver.io ╠═══════════════════════════════╣ To support this applications developer(s) visit: Obico: https://www.obico.io/docs/developer-guides/contribute/#buy-us-a-coffee ╠═══════════════════════════════╣ User/Group ID: User UID: 99 User GID: 100 ╚═══════════════════════════════╝ [custom-init] No custom files found, skipping... [ig-init] done.

chat-app@0.1.0 start next start

ready - started server on 0.0.0.0:3000, url: http://localhost:3000

herc5854 commented 1 year ago

I am having the same issue has anyone gotten it to work yet on unraid.

hydazz commented 1 year ago

Saving the API key works for me with a fresh install?

klppl commented 1 year ago

Yes it works for me. Just save the api key a second time in gui

wyliebutler commented 1 year ago

I reinstalled a couple of times, No Luck :-(

herc5854 commented 1 year ago

Me too

Sent from Yahoo Mail for iPhone

On Sunday, March 5, 2023, 6:33 PM, wyliebutler @.***> wrote:

I reinstalled a couple of times, No Luck :-(

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

hydazz commented 1 year ago

@wyliebutler does anything appear in the logs after attempting to save the key?

wyliebutler commented 1 year ago

The log remains the same. No new entries

klppl commented 1 year ago

This is my Unraid + settings. After starting the container you need to enter the same API key again, press Save. It maybe looks like it doesn't work or save. Restart the container.

Tried this on two difference Unraid servers.

image

image

hydazz commented 1 year ago

The api key variable did not seem to do anything yet

wyliebutler commented 1 year ago

I can now bring up a chat window... but it never returns any results. hmmm

i-kakc commented 1 year ago

This is my Unraid + settings. After starting the container you need to enter the same API key again, press Save. It maybe looks like it doesn't work or save. Restart the container.

Tried this on two difference Unraid servers.

image

image

Thanks,it's helpful for add variable "OPENAI_API_KEY"

mmwilson0 commented 1 year ago

I'm having the same issue on Unraid as well. i tried adding the OPENAI_API_KEY as a variable, but when i try and chat, nothing happens. When i go to import a template, nothing happens there, either.

herc5854 commented 1 year ago

My API key is now saved, I can grab some templates but they do not work I click on them and nothing. I start a chat that works but nothing happens when I type in the chat box. Not sure if others have this same issue or if anyone knows of something I could do to get it to work.

lb1blink commented 1 year ago

My API key is now saved, I can grab some templates but they do not work I click on them and nothing. I start a chat that works but nothing happens when I type in the chat box. Not sure if others have this same issue or if anyone knows of something I could do to get it to work.

Yep, same issue on UnRAID. Not working.

hydazz commented 1 year ago

probably an upstream issue: https://github.com/bitswired/ai-chat-app/issues, not much I can do, the image works fine