coze-dev / coze-dev/coze-js

Bug: 创建 Workflow 的 Response 类型与实际不匹配

Open
#302 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
292
Forks
99
PR merge metrics
No merged PRs in 30d

Description

#### 当前类型定义

https://github.com/coze-dev/coze-js/blob/0f37a1b03f4b616e4e0bb2671759bd83325b0989/packages/coze-js/src/resources/workflows/runs/runs.ts#L137-L144

#### 实际返回接口

[API 文档](https://www.coze.cn/open/playground/workflow_run)

Image

以上,类型匹配不一致。。。

Contributor guide

Open the contributing guide

Research direction

Start at packages/coze-js/src/resources/workflows/runs/runs.ts lines 137-144 and compare the declared response type with the workflow run API documentation linked in the issue. Confirm the actual response shape, update the type to match it, and verify that the SDK type and documented response are consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.