fix: failed to generate spring.ai.tools.observations metadata (#3539)

Signed-off-by: Jionghui Zheng <9uanhuo@gmail.com>
(cherry picked from commit aada198b46)
This commit is contained in:
Guan Huo
2025-06-16 23:14:53 +08:00
committed by Spring Builds
parent a5fa666420
commit 7361ed9d33

View File

@@ -31,6 +31,10 @@ public class ToolCallingProperties {
private final Observations observations = new Observations();
public Observations getObservations() {
return this.observations;
}
/**
* If true, tool calling errors are thrown as exceptions for the caller to handle. If
* false, errors are converted to messages and sent back to the AI model, allowing it