Skip to content

Commit

Permalink
add jvmField annotation to Tool.CODE_EXECUTION (google-gemini#201)
Browse files Browse the repository at this point in the history
Co-authored-by: David Motsonashvili <[email protected]>
  • Loading branch information
2 people authored and PatilShreyas committed Sep 21, 2024
1 parent 5d84f59 commit 7d3ce7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changes/common/doctor-detail-balloon-crib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"MINOR","changes":["Make Tools.CODE_EXECUTION more naturally accessible in java"]}
1 change: 1 addition & 0 deletions .changes/generativeai/cabbage-discussion-bag-dog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"MAJOR","changes":["Make Tools.CODE_EXECUTION more naturally accessible in java"]}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class Tool(
val codeExecution: JSONObject? = null,
) {
companion object {
val CODE_EXECUTION = Tool(codeExecution = JSONObject())
@JvmField val CODE_EXECUTION = Tool(codeExecution = JSONObject())
}
}

0 comments on commit 7d3ce7d

Please sign in to comment.