I've got the following error running arb_translate
Translating 1 terms for locale de...
Unhandled exception:
models/gemini-1.0-pro is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.
#0 parseGenerateContentResponse (package:google_generative_ai/src/api.dart:582:54)
<asynchronous suspension>
#1 GeminiTranslationDelegate.getModelResponse (package:arb_translate/src/translation_delegates/gemini_translation_delegate.dart:85:25)
<asynchronous suspension>
#2 TranslationDelegate._translateBatch (package:arb_translate/src/translation_delegates/translation_delegate.dart:90:20)
<asynchronous suspension>
#3 Future.wait.<anonymous closure> (dart:async/future.dart:534:21)
<asynchronous suspension>
#4 TranslationDelegate.translate (package:arb_translate/src/translation_delegates/translation_delegate.dart:36:28)
<asynchronous suspension>
#5 _translateBundle (package:arb_translate/src/translate.dart:110:25)
<asynchronous suspension>
#6 translate (package:arb_translate/src/translate.dart:75:5)
<asynchronous suspension>
#7 main (file:///Users/fre/.pub-cache/hosted/pub.dev/arb_translate-1.1.0/bin/arb_translate.dart:41:3)
<asynchronous suspension>
As a workaround, I added arb-translate-model: gemini-1.5-pro to the l10n.yaml which solved the issue.
Is gemini-1.0-pro no longer supported?
I've got the following error running
arb_translateAs a workaround, I added
arb-translate-model: gemini-1.5-proto thel10n.yamlwhich solved the issue.Is
gemini-1.0-prono longer supported?