Relative Content

Tag Archive for springspring-ai

Mysterious bug in using OpenAiChatModel API

Mysterious bug: When using the OpenAiChatModel API, I’m encountering an issue where the parameter values obtained using @Value annotation are exactly the same as the ones I directly defined. I even printed them out to verify, but while hardcoded values work successfully, the values obtained through @Value annotation are not being passed successfully.