Phase 0: 專案初始化 - 建立專案結構、環境設定與 LLM 服務模組

This commit is contained in:
2025-12-12 12:53:24 +08:00
commit 177e8e8fe9
11 changed files with 352 additions and 0 deletions

19
.env.example Normal file
View File

@@ -0,0 +1,19 @@
# Flask
FLASK_SECRET_KEY=your-secret-key-change-in-production
FLASK_DEBUG=True
# Database (MySQL)
DB_HOST=your-db-host
DB_PORT=3306
DB_NAME=your-db-name
DB_USER=your-db-user
DB_PASSWORD=your-db-password
# Ollama API
OLLAMA_API_URL=https://your-ollama-api-url
OLLAMA_DEFAULT_MODEL=qwen2.5:3b
# Gitea
GITEA_URL=https://your-gitea-url
GITEA_USER=your-username
GITEA_TOKEN=your-token