add api-key based authentication

This commit is contained in:
AL
2025-03-08 20:04:53 +08:00
parent cb80f7e0f3
commit 5419d74969
2 changed files with 47 additions and 2 deletions
+4 -1
View File
@@ -10,4 +10,7 @@ ENABLE_CONVERSATION_MEMORY=true
# Server Configuration
SERVER_HOST="127.0.0.1"
SERVER_PORT=5000
SERVER_PORT=5000
# OpenAI compatable API Keys
VALID_API_KEYS="sk-abc123,sk-def456"