Skip to content

coze-py里对coze-studio和coze.cn的数据结构支持的并不好, 包括数据丢失, 比如WorkflowEventInterruptData 这个类, 我用curl返回的数据中有data字段, 但是coze-py中, 并没有这个字段, 导致获取不到data字段数据, #317

@linyijie

Description

@linyijie

coze-py里对coze-studio和coze.cn的数据结构支持的并不好, 包括数据丢失, 比如WorkflowEventInterruptData 这个类, 我用curl返回的数据中有data字段, 但是coze-py中, 并没有这个字段, 导致获取不到data字段数据,

class WorkflowEventInterruptData(CozeModel):
# The workflow interruption event ID, which should be passed back when resuming the workflow.
# 工作流中断事件 ID,恢复运行时应回传此字段。
event_id: str

# The type of workflow interruption, which should be passed back when resuming the workflow.
# 工作流中断类型,恢复运行时应回传此字段。
type: int

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions