Skip to content

Investigate removing @Nullable options in Prompt and ImagePrompt #2955

@markpollack

Description

@markpollack
Member

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

Activity

added this to the 1.0.0-RC1 milestone on Apr 30, 2025
modified the milestones: 1.0.0-RC1, backlog on May 9, 2025
markpollack

markpollack commented on May 9, 2025

@markpollack
MemberAuthor

Decided to leave them in as the the impact is very large. Can look into it post 1.0 GA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @markpollack

        Issue actions

          Investigate removing @Nullable options in Prompt and ImagePrompt · Issue #2955 · spring-projects/spring-ai