Skip to content

Commit 490e2d8

Browse files
feat(arkruntime): update bot action usage
1 parent f83472c commit 490e2d8

File tree

1 file changed

+24
-0
lines changed
  • volcengine-java-sdk-ark-runtime/src/main/java/com/volcengine/ark/runtime/model/bot/completion/chat/usage

1 file changed

+24
-0
lines changed

volcengine-java-sdk-ark-runtime/src/main/java/com/volcengine/ark/runtime/model/bot/completion/chat/usage/BotActionUsage.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ public class BotActionUsage {
2626
@JsonProperty("search_count")
2727
private Integer searchCount;
2828

29+
@JsonProperty("action_name")
30+
private String actionName;
31+
32+
@JsonProperty("count")
33+
private Integer count;
34+
2935
public String getName() {
3036
return name;
3137
}
@@ -66,6 +72,22 @@ public void setSearchCount(Integer searchCount) {
6672
this.searchCount = searchCount;
6773
}
6874

75+
public String getActionName() {
76+
return actionName;
77+
}
78+
79+
public void setActionName(String actionName) {
80+
this.actionName = actionName;
81+
}
82+
83+
public Integer getCount() {
84+
return count;
85+
}
86+
87+
public void setCount(Integer count) {
88+
this.count = count;
89+
}
90+
6991
@Override
7092
public String toString() {
7193
return "BotActionUsage{" +
@@ -74,6 +96,8 @@ public String toString() {
7496
", completionTokens=" + completionTokens +
7597
", totalTokens=" + totalTokens +
7698
", searchCount=" + searchCount +
99+
", actionName='" + actionName + '\'' +
100+
", count=" + count +
77101
'}';
78102
}
79103
}

0 commit comments

Comments
 (0)