The spring-ai-spring-boot-autoconfigure
module had a few dependencies that were included in the final JAR instead of being marked as optional (it's the starter dependency that is supposed to include compile-scope dependencies when needed).
Also, the PostgreSQL dependency was duplicated.