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 {
85
85
implementation(' net.minidev:json-smart:2.5.2' )
86
86
implementation group : ' org.json' , name : ' json' , version : ' 20231013'
87
87
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' )
90
89
testImplementation(" com.fasterxml.jackson.core:jackson-annotations:${ versions.jackson} " )
91
90
testImplementation(" com.fasterxml.jackson.core:jackson-databind:${ versions.jackson_databind} " )
92
91
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() {
82
82
Duration readTimeout = Duration .ofSeconds (super .getConnectorClientConfig ().getReadTimeout ());
83
83
84
84
Consumer <HttpRequest .Builder > headerConfig = builder -> {
85
- builder .header ("Content-Type" , "application/json" );
86
-
87
85
for (Map .Entry <String , String > entry : connector .getDecryptedHeaders ().entrySet ()) {
88
86
builder .header (entry .getKey (), entry .getValue ());
89
87
}
Original file line number Diff line number Diff line change @@ -436,6 +436,7 @@ configurations.all {
436
436
resolutionStrategy. force " jakarta.json:jakarta.json-api:2.1.3"
437
437
resolutionStrategy. force " org.opensearch:opensearch:${ opensearch_version} "
438
438
resolutionStrategy. force " org.bouncycastle:bcprov-jdk18on:1.78.1"
439
+ resolutionStrategy. force ' io.projectreactor:reactor-core:3.7.0'
439
440
}
440
441
441
442
apply plugin : ' com.netflix.nebula.ospackage'
You can’t perform that action at this time.
0 commit comments