conductor-oss / conductor-oss/python-sdk

No SDK support for AGENT, GET_AGENT_CARD, CANCEL_AGENT task types (added in server 3.32.0)

未关闭
#431 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
104
派生
42
平均合并
2 天 1 小时
30 天内合并 PR
3

描述

## Summary

Tested against: **Conductor OSS 3.32.0-rc.9**

Conductor server **3.32.0-rc.9** added three new task types for A2A conductor
agent workflows (conductor-oss/conductor PR #1288):

- `AGENT` — run an A2A conductor agent
- `GET_AGENT_CARD` — retrieve an agent card
- `CANCEL_AGENT` — cancel a running agent

None of these are present in the Python SDK's `TaskType` enum and no builder
classes exist for them.

## Current state

```python
from conductor.client.workflow.task.task_type import TaskType
hasattr(TaskType, "AGENT") # False
hasattr(TaskType, "GET_AGENT_CARD") # False
hasattr(TaskType, "CANCEL_AGENT") # False
```

## Requested

1. Add the three values to `TaskType` enum
2. Add builder classes (`AgentTask`, `GetAgentCardTask`, `CancelAgentTask`) once
the server-side inputParameters schema for each is stable

## Verified against

Conductor server **3.32.0-rc.9** (conductor-oss/conductor PR #1288).

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start in conductor.client.workflow.task.task_type.TaskType and compare its values with the three task types introduced by server 3.32.0-rc.9. Confirm the server-side inputParameters schemas are stable before assessing AgentTask, GetAgentCardTask, and CancelAgentTask. Done means the enum supports AGENT, GET_AGENT_CARD, and CANCEL_AGENT, with builder classes added when their schemas are stable.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend-api-design
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。