Skip to content

Investigate removing @Nullable options in Prompt and ImagePrompt #2955

Open
@markpollack

Description

@markpollack

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

#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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions