diff --git a/.env.example b/.env.example index 863dcba..0d8e9a9 100644 --- a/.env.example +++ b/.env.example @@ -1,22 +1,29 @@ # Database Configuration DATABASE_URL=postgresql://chattutor:changeme@localhost:5432/chattutor +# API Server +VITE_API_BASE_URL=http://localhost:8002 + +# Client +CLINET_BASE_URL=http://localhost:8001 + # AI Configuration # Your API key for the AI service -API_KEY=your_api_key_here +MODEL_API_KEY=your_api_key_here # Base URL for the AI service (optional, defaults to OpenAI) -BASE_URL=https://api.openai.com/v1 +MODEL_BASE_URL=https://api.openai.com/v1 # Model for the main agent that chats with users AGENT_MODEL=gpt-4 - -# Model for the painter agent (optional, defaults to AGENT_MODEL) -# Recommended: claude-sonnet-4.5 -PAINTER_MODEL= +# Model provider +# Options: [openai, anthropic, deepseek] +AGENT_MODEL_PROVIDER= # Model for generating chat titles (optional, defaults to AGENT_MODEL) TITLE_MODEL= +# Optional, defaults to AGNET_MODEL_PROVIDER +TITLE_MODEL_PROVIDER= # OSS Configuration (Optional - for image upload functionality) # If not set, image upload will be unavailable diff --git a/.github/workflows/README.md b/.github/workflows/README.md deleted file mode 100644 index c81a807..0000000 --- a/.github/workflows/README.md +++ /dev/null @@ -1,120 +0,0 @@ -# GitHub Actions Workflows - -## Release Workflow - -自动发布 release 的 workflow,支持生成详细的 changelog、emoji 标记和贡献者 @。 - -### 功能特性 - -- ✨ 自动生成详细的 changelog -- 🎨 根据 commit 类型自动添加对应的 emoji -- 👥 自动识别并 @ 所有贡献者 -- 📝 支持 Conventional Commits 格式 - -### 触发方式 - -当推送以 `v` 开头的 tag 时自动触发: - -```bash -git tag v1.0.0 -git push origin v1.0.0 -``` - -### Commit 格式 - -推荐使用 [Conventional Commits](https://www.conventionalcommits.org/) 格式: - -``` -(): - - - -