Skip to content

Commit 214c647

Browse files
lzswebzhansheng.lzsclaude
authored
Add parentNodeId field to WorkflowMessage (#233)
* Add parentNodeId field to WorkflowMessage The workflow streaming API now returns parent_node_id to indicate parent-child relationships between workflow nodes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Bump version to 2.22.23 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: zhansheng.lzs <zhansheng.lzs@alibaba-inc.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 44b0472 commit 214c647

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<name>DashScope Java SDK</name>
4141
<groupId>com.alibaba</groupId>
4242
<artifactId>dashscope-sdk-java</artifactId>
43-
<version>2.22.22</version>
43+
<version>2.22.23</version>
4444

4545
<properties>
4646
<maven.compiler.source>8</maven.compiler.source>

src/main/java/com/alibaba/dashscope/app/WorkflowMessage.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ public class WorkflowMessage {
2727
@SerializedName("message")
2828
private Message message;
2929

30+
@SerializedName("parent_node_id")
31+
private String parentNodeId;
32+
3033
@Data
3134
public static class Message {
3235
@SerializedName("role")

0 commit comments

Comments
 (0)