Skip to content

Commit d382c99

Browse files
committed
Limit openai latest dep test version
1 parent a260205 commit d382c99

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

instrumentation/openai/openai-java-1.1/javaagent/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ muzzle {
66
pass {
77
group.set("com.openai")
88
module.set("openai-java")
9-
versions.set("[1.1.0,)")
9+
versions.set("[1.1.0,3)")
1010
// TODO: assertInverse after completing instrumentation
1111
}
1212
}
@@ -19,6 +19,8 @@ dependencies {
1919
library("com.openai:openai-java:1.1.0")
2020

2121
testImplementation(project(":instrumentation:openai:openai-java-1.1:testing"))
22+
23+
latestDepTestLibrary("com.openai:openai-java:2.+")
2224
}
2325

2426
tasks {

instrumentation/openai/openai-java-1.1/library/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ dependencies {
77
library("com.openai:openai-java:1.1.0")
88

99
testImplementation(project(":instrumentation:openai:openai-java-1.1:testing"))
10+
11+
latestDepTestLibrary("com.openai:openai-java:2.+")
1012
}
1113

1214
tasks {

0 commit comments

Comments
 (0)