Skip to content

Commit 93f5d45

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new field include_thoughts is added to message .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig
feat: A new field `thought_signature` is added to message `.google.cloud.aiplatform.v1.Part` feat: A new field `thought` is added to message `.google.cloud.aiplatform.v1.Part` docs: allow field `thought` to be set as input PiperOrigin-RevId: 764850502
1 parent 821be15 commit 93f5d45

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

google/cloud/aiplatform/v1beta1/content.proto

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,12 @@ message Part {
136136
VideoMetadata video_metadata = 4 [(google.api.field_behavior) = OPTIONAL];
137137
}
138138

139-
// Output only. Indicates if the part is thought from the model.
140-
bool thought = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
139+
// Indicates if the part is thought from the model.
140+
bool thought = 10 [(google.api.field_behavior) = OPTIONAL];
141+
142+
// An opaque signature for the thought so it can be reused in subsequent
143+
// requests.
144+
bytes thought_signature = 11 [(google.api.field_behavior) = OPTIONAL];
141145
}
142146

143147
// Content blob.
@@ -239,6 +243,10 @@ message GenerationConfig {
239243

240244
// Config for thinking features.
241245
message ThinkingConfig {
246+
// Indicates whether to include thoughts in the response.
247+
// If true, thoughts are returned only when available.
248+
optional bool include_thoughts = 1 [(google.api.field_behavior) = OPTIONAL];
249+
242250
// Optional. Indicates the thinking budget in tokens.
243251
// This is only applied when enable_thinking is true.
244252
optional int32 thinking_budget = 3 [(google.api.field_behavior) = OPTIONAL];

0 commit comments

Comments
 (0)