Fundamental_Analysis/frontend
Lv, Qi a1e4b265ba feat(config): Implement database-centric LLM provider architecture
本次提交完成了一次全面的架构重构,实现了以数据库为中心的、支持多供应商的LLM配置体系。

**核心变更**:
1.  **数据库驱动配置**: 废弃了所有基于本地文件的配置方案 (`analysis-config.json`),将LLM Provider和分析模块的配置作为结构化数据存入数据库的`system_config`表中,由`data-persistence-service`统一管理。
2.  **Schema-in-Code**: 在`common-contracts`中定义了所有配置的Rust Structs,作为整个系统的“单一事实源”,确保了端到端的类型安全。
3.  **服务职责重构**:
    *   `data-persistence-service`吸收了配置管理功能,成为配置的“守门人”。
    *   `config-service-rs`服务已被彻底移除。
    *   `report-generator-service`重构为可以为每个任务动态创建使用不同Provider配置的LLM客户端。
4.  **前端功能增强**:
    *   新增了独立的`/llm-config`页面,用于对LLM Providers及其可用模型进行完整的CRUD管理,并支持模型自动发现。
    *   重构了旧的`/config`页面,为分析模块提供了级联选择器来精确指定所需的Provider和Model。

此次重构极大地提升了系统的灵活性和可扩展性,完全对齐了“配置即数据”的现代化设计原则。
2025-11-17 04:41:36 +08:00
..
public chore(frontend): 提交前端静态资源与 API 路由调整 2025-10-30 16:28:53 +08:00
src feat(config): Implement database-centric LLM provider architecture 2025-11-17 04:41:36 +08:00
.gitignore feat(backend): introduce DataManager and multi-provider; analysis orchestration; streaming endpoints; remove legacy tushare_client; enhance logging 2025-11-03 21:48:08 +08:00
components.json Initial commit 2025-10-21 20:17:14 +08:00
Dockerfile refactor(phase0-1): 容器化与配置服务拆分,并清理根目录 2025-11-08 21:07:38 +08:00
eslint.config.mjs chore(frontend): 提交前端静态资源与 API 路由调整 2025-10-30 16:28:53 +08:00
next.config.mjs fix(frontend): remove localhost rewrites and enforce NEXT_PUBLIC_BACKEND_URL 2025-11-08 22:59:03 +08:00
next.config.ts Initial commit 2025-10-21 20:17:14 +08:00
package-lock.json 修改了财务数据获取时的一些结构,但还没有完成,今天先做到这儿。 2025-11-04 14:03:34 +08:00
package.json refactor(architecture): Align frontend & docs with DB gateway pattern 2025-11-17 01:29:56 +08:00
postcss.config.mjs Initial commit 2025-10-21 20:17:14 +08:00
tsconfig.json Initial commit 2025-10-21 20:17:14 +08:00