diff --git a/androidExample/app/src/main/java/com/example/agentclient/models/ExecutionStatusResponse.kt b/androidExample/app/src/main/java/com/example/agentclient/models/ExecutionStatusResponse.kt new file mode 100644 index 0000000..bb389ce --- /dev/null +++ b/androidExample/app/src/main/java/com/example/agentclient/models/ExecutionStatusResponse.kt @@ -0,0 +1,30 @@ +package com.example.agentclient.models + +import com.google.gson.annotations.SerializedName + +/** + * 执行状态响应模型 + */ +data class ExecutionStatusResponse( + val status: String, + val progress: Int = 0, + + @SerializedName("current_node") + val currentNode: CurrentNode?, + + val error: String? = null +) + +/** + * 当前执行节点 + */ +data class CurrentNode( + @SerializedName("node_id") + val nodeId: String, + + @SerializedName("node_name") + val nodeName: String?, + + @SerializedName("node_type") + val nodeType: String? +)