docs: 使用说明 docs/USAGE.md;LLM URL/模型名配置移到 config.yaml(.env 仅 Key)

- config.yaml 新增 agent.llm:base_url / model 明文配置(默认百炼兼容端点 qwen-plus),api_key 只从 .env 的 LLM_API_KEY 读取;LLM_BASE_URL / LLM_MODEL 仍可经 .env 覆盖
- .env.example 注释同步;core.config 读取逻辑 env > yaml > 默认
- docs/USAGE.md:安装/配置/数据同步/启动/研究 API 与 Job/Experiment/Agent/测试门禁/已知限制/FAQ
- README 增加使用说明入口
- 新增 config LLM 测试 2 项(yaml 默认 + env 覆盖)→ pytest 81 passed / ruff clean
This commit is contained in:
Simon
2026-09-06 17:57:15 +08:00
parent 8f8b6d274f
commit 01d818e12a
5 changed files with 302 additions and 5 deletions
+4
View File
@@ -50,6 +50,10 @@ qlib/
└── .env.example # 密钥模板(复制为 .env,勿提交)
```
## 使用说明
完整使用文档(安装 / 配置 / 数据同步 / API / Agent / 常见问题)见 **[docs/USAGE.md](./docs/USAGE.md)**。
## 快速开始(后端)
前置:安装 [uv](https://docs.astral.sh/uv/)(`pip install uv` 或官方脚本)。