Skip to content

Commit

Permalink
add jvmField annotation to Tool.CODE_EXECUTION (#201)
Browse files Browse the repository at this point in the history
Co-authored-by: David Motsonashvili <davidmotson@google.com>
  • Loading branch information
davidmotson and David Motsonashvili authored Jul 12, 2024
1 parent fa9688a commit ff2b8bb
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 @@ -30,6 +30,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 ff2b8bb

Please sign in to comment.