pipeline-sdlc/json/sd_test_plan_list.json
yumoqing 72cd262cdb feat(cockpit): product-grade LLM integration with context + model mgmt
Backend:
- cockpit_chat.dspy: real LLM calls via llm table config, Hermes-style
  context (system prompt + project/iteration + history), auto model
  selection (multimodal if files, text otherwise)
- cockpit_model_options.dspy: returns active models with capabilities
- llm table: added capabilities column (text/vision/multimodal)

Frontend:
- inputed script: no page reload, updates agent bubble with LLM reply
- stats_row refreshed on success, error shown in bubble

DB:
- sd_agent_settings table for per-user agent preferences
2026-07-31 18:06:27 +08:00

50 lines
1.3 KiB
JSON

{
"tblname": "sd_test_plans",
"title": "测试方案",
"params": {
"sortby": [
"created_at desc"
],
"confidential_fields": [],
"browserfields": {
"alters": {
"iteration_id": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_iteration_options.dspy')}}",
"valueField": "value",
"textField": "text"
},
"plan_type": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_search_plan_type.dspy')}}",
"valueField": "value",
"textField": "text"
},
"status": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_search_plan_status.dspy')}}",
"valueField": "value",
"textField": "text"
}
}
},
"editexclouded": [
"id",
"created_at",
"updated_at"
],
"editable": {
"new_data_url": "{{entire_url('../api/sd_test_plan_create.dspy')}}",
"update_data_url": "{{entire_url('../api/sd_test_plan_update.dspy')}}",
"delete_data_url": "{{entire_url('../api/sd_test_plan_delete.dspy')}}"
},
"subtables": [
{
"field": "plan_id",
"title": "测试用例",
"url": "{{entire_url('../sd_test_case_list?plan_id=${id}')}}",
"subtable": "sd_test_cases"
}
]
}
}