You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In EndpointControllerConfiguration, hillaEndpointObjectMapper must create before endpointInvoker, but when I add spring-ai-zhipuai-spring-boot-starter in maven, endpointInvoker create before hillaEndpointObjectMapper with wrong objectmapper.
By debug, it seems that JacksonAutoConfiguration create a default objectmapper before hillaEndpointObjectMapper and endpointInvoker.
So endpointInvoker use default objectmapper.
Expected-behavior
hillaEndpointObjectMapper should create before endpointInvoker, otherwise ByteArrayModule will not be registed.
Describe the bug
In
EndpointControllerConfiguration
,hillaEndpointObjectMapper
must create beforeendpointInvoker
, but when I addspring-ai-zhipuai-spring-boot-starter
in maven,endpointInvoker
create beforehillaEndpointObjectMapper
with wrongobjectmapper
.By debug, it seems that
JacksonAutoConfiguration
create a defaultobjectmapper
beforehillaEndpointObjectMapper
andendpointInvoker
.So
endpointInvoker
use defaultobjectmapper
.Expected-behavior
hillaEndpointObjectMapper
should create beforeendpointInvoker
, otherwiseByteArrayModule
will not be registed.Reproduction
and
JacksonAutoConfiguration
132 rowEndpointControllerConfiguration
118 row and 161 rowSystem Info
windows 11
hilla 24.6.0
The text was updated successfully, but these errors were encountered: