-
Notifications
You must be signed in to change notification settings - Fork 95
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
Is environment variable NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT working ? #111
Comments
Not normal. Docker-compose is not picking up the envs. This ended up "working" for me: (I'm still running into other issues) `version: '3.6' services: volumes: Please note the .env file being picked up here:
Cheers! Good luck. |
Hi ! Thank you for your anwser. I edited my post becasue indeed I was confusing. I modified the And still it has no effect. If you modifiy it in the |
@iguy0 , do you actually see a modified prompt when you load the webpage? It uses the default even when I use your compose file. |
"The issue with next js build not having the environment variables is caused by how next js looks up environment variables. It requires a .env.local to be present, which is not present in the docker build step. The reason is that it's included in the .dockerignore, so the context doesn't have a .env.local." See this issue for the original repo for the solution to the docker container not getting the NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT env variable: |
Hi !
Thank you for the nice tool.
I am settting custom value for NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT environement variable (in .env.local).
But it has no effect. When I am running the docker I get always the exact same standard pre-prompt. Is is normal ?
The text was updated successfully, but these errors were encountered: