Commit Graph

6 Commits

Author SHA1 Message Date
SengokuCola
041ff63fba feat:支持高级配置 2026-05-03 20:28:30 +08:00
A-Dawn
7ed5630583 test:修正配置schema断言位置
将 query_memory 配置项的 schema 断言对齐到当前 MemoryConfig 的实际挂载位置,避免把既有 UI 分组结构误判为同步回退。
2026-04-16 13:58:12 +08:00
DawnARC
cdf9d54850 feat:将A_memorix接入maisaka 2026-04-04 02:50:08 +08:00
DrSmoothl
aea87e18f1 feat: enhance bot configuration with new sections and JSON field hooks
- Added support for new configuration sections: relationship, database, maisaka, mcp, and plugin_runtime.
- Introduced complex field hooks for handling JSON configurations in chat talk value rules, expression learning lists, and more.
- Updated the field hooks to include schema metadata for better UI representation.
- Refactored the bot configuration page to utilize a more dynamic approach for managing section values and state.
- Improved the configuration schema generation to ensure all top-level sections have UI metadata.
- Added tests to validate the new configuration schema and ensure proper functionality of the JSON field hooks.
2026-04-03 02:46:07 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
DrSmoothl
4e5d091417 test(webui): add unit tests for ConfigSchemaGenerator
- Test field descriptions from field_docs
- Test json_schema_extra merging
- Test Pydantic constraints mapping
- Test nested model schema handling
- Test fields without extra metadata

All 5 tests passing. Completes Task 7 of webui-config-visualization-refactor plan.
2026-02-17 17:14:48 +08:00