[高级] 统一 DSL — 跨模板的输入契约 #25

Closed
opened 2026-05-05 01:01:44 +08:00 by admin · 0 comments
Owner

背景

不同模板的输入参数格式各异,用户使用不同模板需要学习不同规则。

需求

  1. 定义统一的输入 JSON Schema(query / context / files / options)
  2. 模板声明自己需要的字段子集 + 额外字段
  3. 前端根据 Schema 自动生成表单
  4. 输入验证 + 默认值填充

涉及模块

  • backend/app/schemas/ — 新增 DSL schema 定义
  • frontend/src/components/ — 动态表单组件

优先级

中 — 需要与主控台配合

## 背景 不同模板的输入参数格式各异,用户使用不同模板需要学习不同规则。 ## 需求 1. 定义统一的输入 JSON Schema(query / context / files / options) 2. 模板声明自己需要的字段子集 + 额外字段 3. 前端根据 Schema 自动生成表单 4. 输入验证 + 默认值填充 ## 涉及模块 - backend/app/schemas/ — 新增 DSL schema 定义 - frontend/src/components/ — 动态表单组件 ## 优先级 中 — 需要与主控台配合
admin self-assigned this 2026-05-05 01:01:44 +08:00
admin closed this issue 2026-05-10 14:41:09 +08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/aiagent#25