3 ms·
heuristic for Google Gemini API usage: if the model name contains '-exp' or '-preview', then API version is 'v1alpha' otherwise, use 'v1beta'
by mring33621 2y ago
heuristic for Google Gemini API usage:
if the model name contains '-exp' or '-preview', then API version is 'v1alpha'
otherwise, use 'v1beta'