Hacker News new | ask | show | jobs
by mring33621 492 days ago
heuristic for Google Gemini API usage:

if the model name contains '-exp' or '-preview', then API version is 'v1alpha'

otherwise, use 'v1beta'