spring-ai
spring-ai copied to clipboard
Use `ObjectMapper` with `FAIL_ON_UNKNOWN_PROPERTIES` false during error handling
trafficstars
Some OpenAI compatible servers have unknown properties in the error response, so it is better to use an existing ObjectMapper in the ErrorHandler.