Skip to content

Commit 2d566b9

Browse files
committed
small stuff
1 parent 48f86e2 commit 2d566b9

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

core/src/main/java/com/sap/ai/sdk/core/JacksonConfiguration.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import com.fasterxml.jackson.annotation.JsonAutoDetect;
66
import com.fasterxml.jackson.annotation.JsonInclude;
77
import com.fasterxml.jackson.annotation.PropertyAccessor;
8-
import com.fasterxml.jackson.core.StreamReadFeature;
98
import com.fasterxml.jackson.databind.DeserializationFeature;
109
import com.fasterxml.jackson.databind.json.JsonMapper;
1110
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
@@ -41,8 +40,6 @@ public static JsonMapper getDefaultObjectMapper() {
4140
// still added for any non-generated code and additional safety
4241
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
4342
.disable(DEFAULT_VIEW_INCLUSION)
44-
// JONAS: remove the line below
45-
.enable(StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION)
4643
.build();
4744
}
4845
}

docs/release_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
### ✨ New Functionality
1414

15-
-
15+
- [Orchestration] [Added support for using local prompt template files](https://sap.github.io/ai-sdk/docs/java/TODO)
1616

1717
### 📈 Improvements
1818

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
<!-- conflicts resolution -->
7878
<micrometer.version>1.14.2</micrometer.version>
7979
<json.version>20250107</json.version>
80-
<jackson.version>2.18.3</jackson.version>
8180
<!-- Formatting -->
8281
<spotless.version>2.44.4</spotless.version>
8382
<spotless.skip>false</spotless.skip>
@@ -155,7 +154,7 @@
155154
<dependency>
156155
<groupId>com.fasterxml.jackson.dataformat</groupId>
157156
<artifactId>jackson-dataformat-yaml</artifactId>
158-
<version>2.18.3</version>
157+
<version>${jackson.version}</version>
159158
</dependency>
160159
<!-- conflicts resolution scope "compile" -->
161160
<dependency>

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OrchestrationService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ public OrchestrationChatResponse templateFromPromptRegistryByScenario(
518518
*
519519
* @link <a href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/templating">SAP
520520
* AI Core: Orchestration - Templating</a>
521+
* @param filePath the filepath to the YAML file
521522
* @throws IOException if the YAML cannot be parsed
522523
* @return the assistant response object
523524
*/

0 commit comments

Comments
 (0)