feat(ai): 扩展 AiConfig 支持多 Provider 配置

- config/default.toml 新增 providers 子段(claude/openai/ollama)
- erp-server/config.rs AiConfig 新增 quota_check_enabled + providers HashMap
- erp-ai/config.rs 新增 ProviderType 枚举 + ProviderConfig 结构体
This commit is contained in:
iven
2026-05-05 15:01:24 +08:00
parent 93f6e87220
commit 4d02b2b531
4 changed files with 138 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
pub mod config;
pub mod dto;
pub mod entity;
pub mod error;