Detect whether a client is in vertex mode. Reads the clientAdapter field directly because BaseGeminiNextGenAPIClient keeps it private; centralizing the runtime cast here avoids leaking it into resource files.
clientAdapter
BaseGeminiNextGenAPIClient
private
Detect whether a client is in vertex mode. Reads the
clientAdapterfield directly becauseBaseGeminiNextGenAPIClientkeeps itprivate; centralizing the runtime cast here avoids leaking it into resource files.