Comment by mring33621
15 days ago
heuristic for Google Gemini API usage:
if the model name contains '-exp' or '-preview', then API version is 'v1alpha'
otherwise, use 'v1beta'
15 days ago
heuristic for Google Gemini API usage:
if the model name contains '-exp' or '-preview', then API version is 'v1alpha'
otherwise, use 'v1beta'
No comments yet
Contribute on Hacker News ↗