spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Investigate removing @Nullable options in Prompt and ImagePrompt

Open markpollack opened this issue 6 months ago • 1 comments
trafficstars

Should be doable, just need to look at the impact. The revert of doing this is here

https://github.com/spring-projects/spring-ai/pull/2950

as it broke some basic prompt behavior in ChatClient.

System.out.println("\n>>> ASSISTANT: " + chatClient.prompt(userInput).call().content());

from https://github.com/spring-projects/spring-ai-examples/blob/main/model-context-protocol/client-starter/starter-default-client/src/main/java/org/springframework/ai/mcp/samples/client/Application.java

markpollack avatar Apr 30 '25 14:04 markpollack