conductor-oss / conductor-oss/python-sdk

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

Đang mở
#431 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
104
Fork
42
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
3

Mô tả

## 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).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
backend-api-design
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.