pbl_agent_runtime/models/pbl_agent_def.json

120 lines
2.2 KiB
JSON
Raw 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": "pbl_agent_def",
"comment": "Agent 定义Designer/Critic",
"module": "pbl_agent_runtime",
"engine": "mariadb",
"charset": "utf8mb4",
"tenant_scoped": true
}
],
"fields": [
{
"name": "tenant_id",
"comment": "租户ID(强制打头)",
"null": false,
"type": "str",
"length": 32
},
{
"name": "id",
"comment": "主键",
"null": false,
"type": "int",
"length": 20,
"unsigned": true,
"auto_increment": true
},
{
"name": "code",
"comment": "Agent编码",
"null": false,
"type": "str",
"length": 64
},
{
"name": "agent_type",
"comment": "类型",
"null": false,
"type": "str",
"length": 64
},
{
"name": "name",
"comment": "名称",
"null": false,
"type": "str",
"length": 128
},
{
"name": "model_route",
"comment": "pipeline-llm 路由",
"null": false,
"type": "str",
"length": 64
},
{
"name": "system_prompt_txt",
"comment": "提示词",
"null": true,
"type": "text"
},
{
"name": "tool_whitelist_json",
"comment": "工具白名单",
"null": true,
"type": "json"
},
{
"name": "permission_mode",
"comment": "read/write 模式",
"null": false,
"type": "str",
"length": 64
},
{
"name": "is_enabled",
"comment": "启用",
"null": false,
"type": "bool"
},
{
"name": "version_no",
"comment": "版本",
"null": false,
"type": "int"
},
{
"name": "created_at",
"comment": "创建时间",
"null": false,
"type": "datetime"
},
{
"name": "updated_at",
"comment": "更新时间",
"null": false,
"type": "datetime"
}
],
"indexes": [
{
"name": "uk_ad_code",
"unique": true,
"fields": [
"tenant_id",
"code"
]
},
{
"name": "PRIMARY",
"unique": true,
"fields": [
"id"
]
}
],
"codes": []
}