pipeline-sdlc/json/sd_test_case_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

76 lines
1.9 KiB
JSON

{
"tblname": "sd_test_cases",
"title": "测试用例",
"params": {
"sortby": [
"priority desc",
"created_at desc"
],
"confidential_fields": [],
"browserfields": {
"alters": {
"plan_id": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_test_plan_options.dspy')}}",
"valueField": "value",
"textField": "text"
},
"case_type": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_search_case_type.dspy')}}",
"valueField": "value",
"textField": "text"
},
"status": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_search_case_status.dspy')}}",
"valueField": "value",
"textField": "text"
},
"priority": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_search_priority.dspy')}}",
"valueField": "value",
"textField": "text"
}
}
},
"editexclouded": [
"id",
"actual_result",
"executed_by",
"executed_at",
"duration_ms",
"created_at"
],
"editable": {
"new_data_url": "{{entire_url('../api/sd_test_case_create.dspy')}}",
"update_data_url": "{{entire_url('../api/sd_test_case_update.dspy')}}",
"delete_data_url": "{{entire_url('../api/sd_test_case_delete.dspy')}}"
},
"data_filter": {
"AND": [
{
"field": "plan_id",
"op": "=",
"var": "plan_input"
},
{
"field": "case_type",
"op": "=",
"var": "type_input"
},
{
"field": "status",
"op": "=",
"var": "status_input"
},
{
"field": "priority",
"op": "=",
"var": "priority_input"
}
]
}
}
}