server: port: 8080 mode: debug # debug, release, test database: driver: sqlite # sqlite, postgres, mysql sqlite: path: ./data/health.db postgres: host: localhost port: 5432 user: postgres password: "" dbname: health_app mysql: host: localhost port: 3306 user: root password: "" dbname: health_app jwt: secret: health-ai-secret-key-change-in-production expire_hours: 24 ai: provider: aliyun # openai, aliyun (通义千问) max_history_messages: 10 max_tokens: 2000 # OpenAI 配置 openai: api_key: "" base_url: "https://api.openai.com/v1" model: "gpt-3.5-turbo" # 阿里云通义千问配置 aliyun: api_key: "sk-53b4777561624ba98246c7b9990c5e8b" model: "qwen-turbo" # 可选: qwen-turbo, qwen-plus, qwen-max