Skip to content

Commit ea40277

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new field include_thoughts is added to message .google.cloud.aiplatform.v1.Part
feat: A new field `thought` is added to message `.google.cloud.aiplatform.v1.Part` feat: A new field `thought_signature` is added to message `.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig` PiperOrigin-RevId: 764447916
1 parent 7e94d69 commit ea40277

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/content.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@ message Part {
127127
// Optional. Result of executing the [ExecutableCode].
128128
CodeExecutionResult code_execution_result = 9
129129
[(google.api.field_behavior) = OPTIONAL];
130+
131+
// Indicates if the part is thought from the model.
132+
bool thought = 10 [(google.api.field_behavior) = OPTIONAL];
133+
134+
// An opaque signature for the thought so it can be reused in subsequent
135+
// requests.
136+
bytes thought_signature = 11 [(google.api.field_behavior) = OPTIONAL];
130137
}
131138

132139
oneof metadata {
@@ -214,6 +221,10 @@ message GenerationConfig {
214221

215222
// Config for thinking features.
216223
message ThinkingConfig {
224+
// Indicates whether to include thoughts in the response.
225+
// If true, thoughts are returned only when available.
226+
optional bool include_thoughts = 1 [(google.api.field_behavior) = OPTIONAL];
227+
217228
// Optional. Indicates the thinking budget in tokens.
218229
// This is only applied when enable_thinking is true.
219230
optional int32 thinking_budget = 3 [(google.api.field_behavior) = OPTIONAL];

0 commit comments

Comments
 (0)