Skip to content

Commit aada198

Browse files
authored
fix: failed to generate spring.ai.tools.observations metadata (#3539)
Auto-cherry-pick to 1.0.x Signed-off-by: Jionghui Zheng <[email protected]>
1 parent 97b91f5 commit aada198

File tree

1 file changed

+4
-0
lines changed
  • auto-configurations/models/tool/spring-ai-autoconfigure-model-tool/src/main/java/org/springframework/ai/model/tool/autoconfigure

1 file changed

+4
-0
lines changed

auto-configurations/models/tool/spring-ai-autoconfigure-model-tool/src/main/java/org/springframework/ai/model/tool/autoconfigure/ToolCallingProperties.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ public class ToolCallingProperties {
3131

3232
private final Observations observations = new Observations();
3333

34+
public Observations getObservations() {
35+
return this.observations;
36+
}
37+
3438
/**
3539
* If true, tool calling errors are thrown as exceptions for the caller to handle. If
3640
* false, errors are converted to messages and sent back to the AI model, allowing it

0 commit comments

Comments
 (0)