Coverage for agentos/config/__init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.14.3, created at 2026-07-02 09:59 +0800

1"""AgentOS Configuration System — v1.2.7. 

2 

3- AgentOSConfig: 统一配置入口,覆盖所有子系统配置。 

4- AgentOSPreset: 预设推荐配置(生产/开发/低耗/安全优先)。 

5- ConfigValidator: YAML/JSON 配置校验。 

6""" 

7 

8from agentos.config.loader import AgentOSConfig 

9from agentos.config.presets import AgentOSPreset 

10from agentos.config.validator import ( 

11 ValidationLevel, 

12 ValidationIssue, 

13 ValidationResult, 

14) 

15 

16__all__ = [ 

17 "AgentOSConfig", 

18 "AgentOSPreset", 

19 "ValidationLevel", 

20 "ValidationIssue", 

21 "ValidationResult", 

22]