addCachedTokensByModality

Adds a single CachedTokensByModality to Builder.cachedTokensByModality.

Throws

if the field was previously set to a non-list.