pipeline-service/models/pipeline_agent_settings.json

27 lines
1.9 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"summary": [
{
"name": "pipeline_agent_settings",
"title": "用户agent偏好设置表每用户一行uk_user;2026-09-10归籍;写入方agent_loop_v2/set_agent_model.dspy/workspace.py,6行活表;定义逐列对齐活表,float/raw如实呈现",
"primary": ["id"],
"catelog": "entity"
}
],
"fields": [
{"name": "id", "title": "主键ID", "type": "str", "length": 32, "nullable": "no"},
{"name": "user_id", "title": "用户ID", "type": "str", "length": 32, "nullable": "no"},
{"name": "default_llm_id", "title": "默认模型ID(空=平台缺省)", "type": "str", "length": 32, "nullable": "yes", "default": ""},
{"name": "system_prompt", "title": "自定义系统提示词", "type": "text", "nullable": "yes"},
{"name": "temperature", "title": "温度(预留;活表bare float,新机渲染double(10,2)——平台模板约定,值域0-2无影响)", "type": "float", "length": 10, "dec": 2, "nullable": "yes", "default": "0.7"},
{"name": "max_context_messages", "title": "上下文最大消息数(预留)", "type": "int", "nullable": "yes", "default": "30"},
{"name": "current_project_id", "title": "当前项目ID指针(全局回退用)", "type": "str", "length": 32, "nullable": "yes", "default": ""},
{"name": "current_iteration_id", "title": "当前迭代ID指针(预留)", "type": "str", "length": 32, "nullable": "yes", "default": ""},
{"name": "workspace_dir", "title": "工作目录覆盖(预留)", "type": "str", "length": 500, "nullable": "yes", "default": ""},
{"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no"},
{"name": "updated_at", "title": "更新时间(活表有ON UPDATE,新机无——模板不支持,业务不依赖)", "type": "timestamp", "nullable": "no"}
],
"indexes": [
{"name": "uk_user", "idxtype": "unique", "idxfields": ["user_id"]}
]
}