Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions openapi/openapi.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -21769,7 +21769,8 @@
"card_url": "https://agents.example.com/deploy-bot/card",
"auth_type": "bearer",
"streaming": true,
"team_id": 0
"team_id": 0,
"instructions": "Use when deployment pipelines need inspection or rollback advice."
}
}
}
Expand Down Expand Up @@ -21826,7 +21827,6 @@
"team_id": 0,
"can_edit": true,
"agent_name": "deploy-bot",
"description": "Remote agent that inspects deployment pipelines.",
"card_url": "https://agents.example.com/deploy-bot/card",
"auth_type": "bearer",
"streaming": true,
Expand All @@ -21841,7 +21841,8 @@
"auth_mode": "shared",
"created_by": 80011,
"created_at": 1716960000000,
"updated_at": 1717046400000
"updated_at": 1717046400000,
"instructions": "Remote agent that inspects deployment pipelines."
}
],
"total": 1
Expand Down Expand Up @@ -21928,7 +21929,6 @@
"team_id": 0,
"can_edit": true,
"agent_name": "deploy-bot",
"description": "Remote agent that inspects deployment pipelines.",
"card_url": "https://agents.example.com/deploy-bot/card",
"auth_type": "bearer",
"streaming": true,
Expand All @@ -21943,7 +21943,8 @@
"auth_mode": "shared",
"created_by": 80011,
"created_at": 1716960000000,
"updated_at": 1717046400000
"updated_at": 1717046400000,
"instructions": "Remote agent that inspects deployment pipelines."
}
}
}
Expand Down Expand Up @@ -22050,7 +22051,7 @@
},
"example": {
"agent_id": "a2a_6mWqZ2pK9nLcR3tY8uVb4D",
"description": "Inspects deployment pipelines and proposes rollbacks."
"instructions": "Inspect deployment pipelines and propose rollback steps."
}
}
}
Expand Down Expand Up @@ -43038,10 +43039,6 @@
"type": "string",
"description": "Agent display name."
},
"description": {
"type": "string",
"description": "Agent description."
},
"card_url": {
"type": "string",
"description": "URL of the remote agent card."
Expand Down Expand Up @@ -43119,6 +43116,10 @@
"type": "integer",
"format": "int64",
"description": "Last update time. Unix timestamp in milliseconds."
},
"instructions": {
"type": "string",
"description": "Invocation instructions included in AI SRE's system prompt to decide when to call this A2A agent."
}
},
"required": [
Expand All @@ -43127,7 +43128,7 @@
"team_id",
"can_edit",
"agent_name",
"description",
"instructions",
"card_url",
"auth_type",
"streaming",
Expand Down Expand Up @@ -43155,14 +43156,6 @@
"description": "New display name. Omit to leave unchanged.",
"maxLength": 128
},
"description": {
"type": [
"string",
"null"
],
"description": "New description. Omit to leave unchanged.",
"maxLength": 2000
},
"card_url": {
"type": [
"string",
Expand Down Expand Up @@ -43219,6 +43212,13 @@
"null"
],
"description": "New JSON OAuth metadata."
},
"instructions": {
"type": [
"string",
"null"
],
"description": "New invocation instructions. Omit to leave unchanged; when supplied, must be nonblank."
}
},
"required": [
Expand All @@ -43234,11 +43234,6 @@
"description": "Agent display name.",
"maxLength": 128
},
"description": {
"type": "string",
"description": "Agent description.",
"maxLength": 2000
},
"card_url": {
"type": "string",
"description": "URL of the remote agent card."
Expand Down Expand Up @@ -43274,10 +43269,15 @@
"oauth_metadata": {
"type": "string",
"description": "JSON OAuth metadata; reserved for per_user_oauth."
},
"instructions": {
"type": "string",
"description": "Invocation instructions included in AI SRE's system prompt to decide when to call this A2A agent. Must be nonblank."
}
},
"required": [
"agent_name",
"instructions",
"card_url"
]
},
Expand Down
48 changes: 24 additions & 24 deletions openapi/openapi.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -21761,7 +21761,8 @@
"card_url": "https://agents.example.com/deploy-bot/card",
"auth_type": "bearer",
"streaming": true,
"team_id": 0
"team_id": 0,
"instructions": "当需要检查部署流水线或给出回滚建议时使用。"
}
}
}
Expand Down Expand Up @@ -21818,7 +21819,6 @@
"team_id": 0,
"can_edit": true,
"agent_name": "deploy-bot",
"description": "Remote agent that inspects deployment pipelines.",
"card_url": "https://agents.example.com/deploy-bot/card",
"auth_type": "bearer",
"streaming": true,
Expand All @@ -21833,7 +21833,8 @@
"auth_mode": "shared",
"created_by": 80011,
"created_at": 1716960000000,
"updated_at": 1717046400000
"updated_at": 1717046400000,
"instructions": "Remote agent that inspects deployment pipelines."
}
],
"total": 1
Expand Down Expand Up @@ -21920,7 +21921,6 @@
"team_id": 0,
"can_edit": true,
"agent_name": "deploy-bot",
"description": "Remote agent that inspects deployment pipelines.",
"card_url": "https://agents.example.com/deploy-bot/card",
"auth_type": "bearer",
"streaming": true,
Expand All @@ -21935,7 +21935,8 @@
"auth_mode": "shared",
"created_by": 80011,
"created_at": 1716960000000,
"updated_at": 1717046400000
"updated_at": 1717046400000,
"instructions": "Remote agent that inspects deployment pipelines."
}
}
}
Expand Down Expand Up @@ -22042,7 +22043,7 @@
},
"example": {
"agent_id": "a2a_6mWqZ2pK9nLcR3tY8uVb4D",
"description": "Inspects deployment pipelines and proposes rollbacks."
"instructions": "检查部署流水线并给出回滚步骤。"
}
}
}
Expand Down Expand Up @@ -43029,10 +43030,6 @@
"type": "string",
"description": "智能体显示名称。"
},
"description": {
"type": "string",
"description": "智能体描述。"
},
"card_url": {
"type": "string",
"description": "远程智能体卡片的 URL。"
Expand Down Expand Up @@ -43110,6 +43107,10 @@
"type": "integer",
"format": "int64",
"description": "最近更新时间,Unix 毫秒时间戳。"
},
"instructions": {
"type": "string",
"description": "调用说明,会进入 AI SRE 的系统提示词,用于判断何时调用此 A2A 智能体。"
}
},
"required": [
Expand All @@ -43118,7 +43119,7 @@
"team_id",
"can_edit",
"agent_name",
"description",
"instructions",
"card_url",
"auth_type",
"streaming",
Expand Down Expand Up @@ -43146,14 +43147,6 @@
"description": "新的显示名称。省略则不变。",
"maxLength": 128
},
"description": {
"type": [
"string",
"null"
],
"description": "新的描述。省略则不变。",
"maxLength": 2000
},
"card_url": {
"type": [
"string",
Expand Down Expand Up @@ -43210,6 +43203,13 @@
"null"
],
"description": "新的 JSON OAuth 元数据。"
},
"instructions": {
"type": [
"string",
"null"
],
"description": "新的调用说明。省略则不变;传入时不能为空。"
}
},
"required": [
Expand All @@ -43225,11 +43225,6 @@
"description": "智能体显示名称。",
"maxLength": 128
},
"description": {
"type": "string",
"description": "智能体描述。",
"maxLength": 2000
},
"card_url": {
"type": "string",
"description": "远程智能体卡片的 URL。"
Expand Down Expand Up @@ -43265,10 +43260,15 @@
"oauth_metadata": {
"type": "string",
"description": "JSON OAuth 元数据;为 per_user_oauth 预留。"
},
"instructions": {
"type": "string",
"description": "调用说明,会进入 AI SRE 的系统提示词,用于判断何时调用此 A2A 智能体。不能为空。"
}
},
"required": [
"agent_name",
"instructions",
"card_url"
]
},
Expand Down