PG Thinker
PG Thinker

**Bug description** I'm attempting to return the ImageResponse as a ModelResponse, which passes successfully in unit tests but fails on Spring MVC. **Environment** - Spring AI 0.8.1-SNAPSHOT - Java 17...
## Test Code ```dart test('chat stream', () async { OpenAI.baseUrl = "https://api.openai.com"; OpenAI.apiKey = "sk-**********"; var createStream = OpenAI.instance.chat.createStream(model: "gpt-3.5-turbo", messages: [ OpenAIChatCompletionChoiceMessageModel( role: OpenAIChatMessageRole.user, content: [ OpenAIChatCompletionChoiceMessageContentItemModel.text("Hi!") ]) ]);...