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
74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"tblname": "sd_projects",
|
|
"title": "项目管理",
|
|
"params": {
|
|
"sortby": [
|
|
"created_at desc"
|
|
],
|
|
"logined_userorgid": "org_id",
|
|
"confidential_fields": [],
|
|
"browserfields": {
|
|
"exclouded": [
|
|
"tech_stack"
|
|
],
|
|
"alters": {
|
|
"status": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_status.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"project_type": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_project_type.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"pipeline_id": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_pipeline_options.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": [
|
|
"id",
|
|
"created_at",
|
|
"updated_at",
|
|
"org_id"
|
|
],
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/sd_project_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/sd_project_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/sd_project_delete.dspy')}}"
|
|
},
|
|
"data_filter": {
|
|
"AND": [
|
|
{
|
|
"field": "name",
|
|
"op": "LIKE",
|
|
"var": "name_input"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"op": "=",
|
|
"var": "status_input"
|
|
},
|
|
{
|
|
"field": "project_type",
|
|
"op": "=",
|
|
"var": "type_input"
|
|
}
|
|
]
|
|
},
|
|
"subtables": [
|
|
{
|
|
"field": "project_id",
|
|
"title": "迭代列表",
|
|
"url": "{{entire_url('../sd_iteration_list?project_id=${id}')}}",
|
|
"subtable": "sd_iterations"
|
|
}
|
|
]
|
|
}
|
|
} |