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
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"tblname": "sd_deploy_envs",
|
|
"title": "部署环境",
|
|
"params": {
|
|
"sortby": [
|
|
"env_type"
|
|
],
|
|
"confidential_fields": [
|
|
"db_password",
|
|
"ssh_key_path"
|
|
],
|
|
"browserfields": {
|
|
"exclouded": [
|
|
"db_password",
|
|
"ssh_key_path"
|
|
],
|
|
"alters": {
|
|
"project_id": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_project_options.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"env_type": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_env_type.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
},
|
|
"status": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_env_status.dspy')}}",
|
|
"valueField": "value",
|
|
"textField": "text"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": [
|
|
"id",
|
|
"verified_at",
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/sd_deploy_env_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/sd_deploy_env_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/sd_deploy_env_delete.dspy')}}"
|
|
},
|
|
"record_toolbar": [
|
|
{
|
|
"label": "验证连接",
|
|
"actiontype": "dspy",
|
|
"url": "{{entire_url('../api/env_verify.dspy')}}",
|
|
"options": {
|
|
"icon": "check",
|
|
"cwidth": 16,
|
|
"cheight": 9
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |