Skip to content

Commit 0450428

Browse files
Annhiluccopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 755433653
1 parent 5da0746 commit 0450428

File tree

3 files changed

+0
-63
lines changed

3 files changed

+0
-63
lines changed

src/main/java/com/google/genai/LiveConverters.java

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ ObjectNode partToMldev(ApiClient apiClient, JsonNode fromObject, ObjectNode pare
4444
Common.getValueByPath(fromObject, new String[] {"thought"}));
4545
}
4646

47-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
48-
Common.setValueByPath(
49-
toObject,
50-
new String[] {"thoughtSignature"},
51-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
52-
}
53-
5447
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
5548
Common.setValueByPath(
5649
toObject,
@@ -120,13 +113,6 @@ ObjectNode partToVertex(ApiClient apiClient, JsonNode fromObject, ObjectNode par
120113
Common.getValueByPath(fromObject, new String[] {"thought"}));
121114
}
122115

123-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
124-
Common.setValueByPath(
125-
toObject,
126-
new String[] {"thoughtSignature"},
127-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
128-
}
129-
130116
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
131117
Common.setValueByPath(
132118
toObject,
@@ -1860,13 +1846,6 @@ ObjectNode partFromMldev(ApiClient apiClient, JsonNode fromObject, ObjectNode pa
18601846
Common.getValueByPath(fromObject, new String[] {"thought"}));
18611847
}
18621848

1863-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
1864-
Common.setValueByPath(
1865-
toObject,
1866-
new String[] {"thoughtSignature"},
1867-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
1868-
}
1869-
18701849
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
18711850
Common.setValueByPath(
18721851
toObject,
@@ -1936,13 +1915,6 @@ ObjectNode partFromVertex(ApiClient apiClient, JsonNode fromObject, ObjectNode p
19361915
Common.getValueByPath(fromObject, new String[] {"thought"}));
19371916
}
19381917

1939-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
1940-
Common.setValueByPath(
1941-
toObject,
1942-
new String[] {"thoughtSignature"},
1943-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
1944-
}
1945-
19461918
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
19471919
Common.setValueByPath(
19481920
toObject,

src/main/java/com/google/genai/Models.java

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,6 @@ ObjectNode partToMldev(ApiClient apiClient, JsonNode fromObject, ObjectNode pare
8888
Common.getValueByPath(fromObject, new String[] {"thought"}));
8989
}
9090

91-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
92-
Common.setValueByPath(
93-
toObject,
94-
new String[] {"thoughtSignature"},
95-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
96-
}
97-
9891
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
9992
Common.setValueByPath(
10093
toObject,
@@ -1208,13 +1201,6 @@ ObjectNode partToVertex(ApiClient apiClient, JsonNode fromObject, ObjectNode par
12081201
Common.getValueByPath(fromObject, new String[] {"thought"}));
12091202
}
12101203

1211-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
1212-
Common.setValueByPath(
1213-
toObject,
1214-
new String[] {"thoughtSignature"},
1215-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
1216-
}
1217-
12181204
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
12191205
Common.setValueByPath(
12201206
toObject,
@@ -2888,13 +2874,6 @@ ObjectNode partFromMldev(ApiClient apiClient, JsonNode fromObject, ObjectNode pa
28882874
Common.getValueByPath(fromObject, new String[] {"thought"}));
28892875
}
28902876

2891-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
2892-
Common.setValueByPath(
2893-
toObject,
2894-
new String[] {"thoughtSignature"},
2895-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
2896-
}
2897-
28982877
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
28992878
Common.setValueByPath(
29002879
toObject,
@@ -3456,13 +3435,6 @@ ObjectNode partFromVertex(ApiClient apiClient, JsonNode fromObject, ObjectNode p
34563435
Common.getValueByPath(fromObject, new String[] {"thought"}));
34573436
}
34583437

3459-
if (Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}) != null) {
3460-
Common.setValueByPath(
3461-
toObject,
3462-
new String[] {"thoughtSignature"},
3463-
Common.getValueByPath(fromObject, new String[] {"thoughtSignature"}));
3464-
}
3465-
34663438
if (Common.getValueByPath(fromObject, new String[] {"codeExecutionResult"}) != null) {
34673439
Common.setValueByPath(
34683440
toObject,

src/main/java/com/google/genai/types/Part.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ public abstract class Part extends JsonSerializable {
4343
@JsonProperty("thought")
4444
public abstract Optional<Boolean> thought();
4545

46-
/** An opaque signature for the thought so it can be reused in subsequent requests. */
47-
@JsonProperty("thoughtSignature")
48-
public abstract Optional<byte[]> thoughtSignature();
49-
5046
/** Optional. Result of executing the [ExecutableCode]. */
5147
@JsonProperty("codeExecutionResult")
5248
public abstract Optional<CodeExecutionResult> codeExecutionResult();
@@ -105,9 +101,6 @@ private static Builder create() {
105101
@JsonProperty("thought")
106102
public abstract Builder thought(boolean thought);
107103

108-
@JsonProperty("thoughtSignature")
109-
public abstract Builder thoughtSignature(byte[] thoughtSignature);
110-
111104
@JsonProperty("codeExecutionResult")
112105
public abstract Builder codeExecutionResult(CodeExecutionResult codeExecutionResult);
113106

0 commit comments

Comments
 (0)