You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metadata from UserMessage is inadvertently discarded during the conversion chain in streaming responses. Key breakdown:
Data Loss Point:
DefaultStreamResponseSpec.doGetObservableFluxChatResponse loses metadata when calling toAdvisedRequest.
StreamAroundAdvisor’s internal AdvisedRequest.toPrompt() fails to propagate metadata.
Environment
Spring AI version: 1.0.0-M6
Affected module: spring-ai-core
Expected behavior
UserMessage metadata should persist through the entire processing chain for multimodal support.