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
103 lines
2.5 KiB
JSON
103 lines
2.5 KiB
JSON
{
|
|
"tblname": "sd_bugs",
|
|
"title": "Bug管理",
|
|
"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"
|
|
},
|
|
"severity": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_severity.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"priority": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_priority.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"status": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_bug_status.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"reporter_type": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_reporter_type.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": [
|
|
"id",
|
|
"created_at",
|
|
"updated_at",
|
|
"closed_at",
|
|
"verified_by",
|
|
"fix_commit"
|
|
],
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/sd_bug_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/sd_bug_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/sd_bug_delete.dspy')}}"
|
|
},
|
|
"data_filter": {
|
|
"AND": [
|
|
{
|
|
"field": "iteration_id",
|
|
"op": "=",
|
|
"var": "iteration_input"
|
|
},
|
|
{
|
|
"field": "severity",
|
|
"op": "=",
|
|
"var": "severity_input"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"op": "=",
|
|
"var": "status_input"
|
|
},
|
|
{
|
|
"field": "title",
|
|
"op": "LIKE",
|
|
"var": "title_input"
|
|
}
|
|
]
|
|
},
|
|
"record_toolbar": [
|
|
{
|
|
"label": "确认",
|
|
"actiontype": "dspy",
|
|
"url": "{{entire_url('../api/bug_confirm.dspy')}}",
|
|
"options": {
|
|
"icon": "check",
|
|
"cwidth": 16,
|
|
"cheight": 9
|
|
}
|
|
},
|
|
{
|
|
"label": "关闭",
|
|
"actiontype": "dspy",
|
|
"url": "{{entire_url('../api/bug_close.dspy')}}",
|
|
"options": {
|
|
"icon": "block",
|
|
"cwidth": 16,
|
|
"cheight": 9
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |