File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
src/main/java/org/opensearch/ml/engine/algorithms/remote Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,7 @@ dependencies {
8585 implementation(' net.minidev:json-smart:2.5.2' )
8686 implementation group : ' org.json' , name : ' json' , version : ' 20231013'
8787 implementation group : ' software.amazon.awssdk' , name : ' netty-nio-client' , version : " 2.30.18"
88- // TODO: Replace the custom jar with dependency implementation 'io.modelcontextprotocol.sdk:mcp:0.10.0' after its release
89- api files(' libs/mcp-0.10.0-SNAPSHOT.jar' )
88+ api(' io.modelcontextprotocol.sdk:mcp:0.9.0' )
9089 testImplementation(" com.fasterxml.jackson.core:jackson-annotations:${ versions.jackson} " )
9190 testImplementation(" com.fasterxml.jackson.core:jackson-databind:${ versions.jackson_databind} " )
9291 testImplementation group : ' com.networknt' , name : ' json-schema-validator' , version : ' 1.4.0'
Original file line number Diff line number Diff line change @@ -82,8 +82,6 @@ public List<MLToolSpec> getMcpToolSpecs() {
8282 Duration readTimeout = Duration .ofSeconds (super .getConnectorClientConfig ().getReadTimeout ());
8383
8484 Consumer <HttpRequest .Builder > headerConfig = builder -> {
85- builder .header ("Content-Type" , "application/json" );
86-
8785 for (Map .Entry <String , String > entry : connector .getDecryptedHeaders ().entrySet ()) {
8886 builder .header (entry .getKey (), entry .getValue ());
8987 }
Original file line number Diff line number Diff line change @@ -436,6 +436,7 @@ configurations.all {
436436 resolutionStrategy. force " jakarta.json:jakarta.json-api:2.1.3"
437437 resolutionStrategy. force " org.opensearch:opensearch:${ opensearch_version} "
438438 resolutionStrategy. force " org.bouncycastle:bcprov-jdk18on:1.78.1"
439+ resolutionStrategy. force ' io.projectreactor:reactor-core:3.7.0'
439440}
440441
441442apply plugin : ' com.netflix.nebula.ospackage'
You can’t perform that action at this time.
0 commit comments