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
81 lines
2.0 KiB
JSON
81 lines
2.0 KiB
JSON
{
|
|
"tblname": "sd_iterations",
|
|
"title": "迭代管理",
|
|
"params": {
|
|
"sortby": [
|
|
"created_at desc"
|
|
],
|
|
"confidential_fields": [],
|
|
"browserfields": {
|
|
"exclouded": [
|
|
"scope"
|
|
],
|
|
"alters": {
|
|
"project_id": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_project_options.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"iteration_type": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_iteration_type.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"status": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_iteration_status.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": [
|
|
"id",
|
|
"task_id",
|
|
"started_at",
|
|
"completed_at",
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/sd_iteration_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/sd_iteration_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/sd_iteration_delete.dspy')}}"
|
|
},
|
|
"data_filter": {
|
|
"AND": [
|
|
{
|
|
"field": "project_id",
|
|
"op": "=",
|
|
"var": "project_input"
|
|
},
|
|
{
|
|
"field": "iteration_name",
|
|
"op": "LIKE",
|
|
"var": "name_input"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"op": "=",
|
|
"var": "status_input"
|
|
}
|
|
]
|
|
},
|
|
"subtables": [
|
|
{
|
|
"field": "iteration_id",
|
|
"title": "Bug列表",
|
|
"url": "{{entire_url('../sd_bug_list?iteration_id=${id}')}}",
|
|
"subtable": "sd_bugs"
|
|
},
|
|
{
|
|
"field": "iteration_id",
|
|
"title": "测试方案",
|
|
"url": "{{entire_url('../sd_test_plan_list?iteration_id=${id}')}}",
|
|
"subtable": "sd_test_plans"
|
|
}
|
|
]
|
|
}
|
|
} |