Attempting to update an AI model in Tanzu AI results in error:
Unsupported chat option tool_choice is configured
Response : POST /gemini-3-5-flash-1a911a3/openai/v1/chat/completions/stream 200
Aggregation Error
Stacktrace:
java.lang.RuntimeException: tools.jackson.databind.DatabindException: (was java.lang.NullPointerException)
at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATIONdisabled); byte offset: #UNKNOWN] (through reference chain: com.google.genai.types.AutoValue_Schema$Builder["properties"]->java.util.LinkedHashMap["force_skeleton"]->com.google.genai.types.AutoValue_Schema$Builder["default"])
at org.springframework.ai.google.genai.GoogleGenAiChatModel.jsonToSchema(GoogleGenAiChatModel.java:422) ~[spring-ai-google-genai-2.0.0-M5.jar!/:2.0.0-M5]
The AI model that is being attempted for use is not yet supported by Tanzu AI Service tile.
Operators need to select a version of AI model that is supported by Spring AI.
Spring AI and Tanzu AI Service tile are frequently being updated to provide support for recent AI model versions. Please make sure to use latest version of Tanzu AI Service tile and reference release notes for updates.