fix(a2a): handle missing extended card support flag by codingkiddo · Pull Request #4632 · alibaba/spring-ai-alibaba (original) (raw)

Summary

Handle a missing supportsAuthenticatedExtendedCard value when converting
a Nacos AgentCard into an A2A AgentCard.

The Nacos model exposes this field as a nullable Boolean, while the A2A
builder path expects a concrete boolean value. When the field is absent, the
conversion previously triggered a Boolean.booleanValue() failure.

Changes

Testing

Fixes #4622