-
Notifications
You must be signed in to change notification settings - Fork 486
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
when i upload file, it tells me 'Error save file failed:, e0dd8b40-eaa4-47e7-8eb4-88d5caa483b3.'(run locally) #94
Comments
Your image leaked your OpenAI key!!! I have deleted your images. Please try uploading again and attach an accurate error message. |
local in Mac , change |
Thx, I have resolved this question by manually creating 'public/uploads' directory! |
Is this error related to my proxy settings or the target url? |
You can create a docker volume when deploy the project or manually create the folder when run locally. version: '2.2'
services:
chatfiles:
image: guangzhengli/chatfiles:latest
container_name: chatfiles
ports:
- 3000:3000
environment:
- OPENAI_TYPE=${OPENAI_TYPE}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- AZURE_OPENAI_API_KEY=${AZURE_OPENAI_API_KEY}
- AZURE_OPENAI_API_DEPLOYMENT_NAME=${AZURE_OPENAI_API_DEPLOYMENT_NAME}
- AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME=${AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME}
- AZURE_OPENAI_API_INSTANCE_NAME=${AZURE_OPENAI_API_INSTANCE_NAME}
- AZURE_OPENAI_API_VERSION=${AZURE_OPENAI_API_VERSION}
- SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY}
- SUPABASE_URL=${SUPABASE_URL}
- NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH=public/uploads
- NEXT_PUBLIC_CHAT_FILES_MAX_SIZE=0
volumes:
- ./files:/app/public/uploads |
The text was updated successfully, but these errors were encountered: