From dad9eb0f1ff1abf1c107683d83e06a8aed16bcaf Mon Sep 17 00:00:00 2001 From: FAQ Bot Date: Fri, 10 Jul 2026 16:49:03 +0000 Subject: [PATCH 1/2] NEW: gemini-2.5-flash is not available. What do I do? --- .../032_d51bbe2da0_gemini-2-5-flash-deprecation.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 _questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md diff --git a/_questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md b/_questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md new file mode 100644 index 00000000..18d951e3 --- /dev/null +++ b/_questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md @@ -0,0 +1,7 @@ +--- +id: d51bbe2da0 +question: gemini-2.5-flash is not available. What do I do? +sort_order: 32 +--- + +Gemini-2.5-flash is no longer available to new users. Update your workflow YAML to use gemini-3.5-flash and re-run the workflow. If you still see issues, review the available models in the documentation and migrate to a currently supported model. The guidance in this course is to migrate to a newer model (e.g., gemini-3.5-flash) and re-run the workflow. \ No newline at end of file From 4cdb4175d6710f7009004d7519ffd4996f2e2b56 Mon Sep 17 00:00:00 2001 From: Alexey Grigorev Date: Wed, 15 Jul 2026 11:39:19 +0200 Subject: [PATCH 2/2] Fix Gemini model availability FAQ --- ..._d51bbe2da0_gemini-2-5-flash-deprecation.md | 7 ------- .../011_d51bbe2da0_gemini-model-unavailable.md | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 _questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md create mode 100644 _questions/llm-zoomcamp/module-3/011_d51bbe2da0_gemini-model-unavailable.md diff --git a/_questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md b/_questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md deleted file mode 100644 index 18d951e3..00000000 --- a/_questions/llm-zoomcamp/module-1-rag/032_d51bbe2da0_gemini-2-5-flash-deprecation.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -id: d51bbe2da0 -question: gemini-2.5-flash is not available. What do I do? -sort_order: 32 ---- - -Gemini-2.5-flash is no longer available to new users. Update your workflow YAML to use gemini-3.5-flash and re-run the workflow. If you still see issues, review the available models in the documentation and migrate to a currently supported model. The guidance in this course is to migrate to a newer model (e.g., gemini-3.5-flash) and re-run the workflow. \ No newline at end of file diff --git a/_questions/llm-zoomcamp/module-3/011_d51bbe2da0_gemini-model-unavailable.md b/_questions/llm-zoomcamp/module-3/011_d51bbe2da0_gemini-model-unavailable.md new file mode 100644 index 00000000..4af5f46c --- /dev/null +++ b/_questions/llm-zoomcamp/module-3/011_d51bbe2da0_gemini-model-unavailable.md @@ -0,0 +1,18 @@ +--- +id: d51bbe2da0 +question: "Kestra: Gemini model returns 404 or is unavailable. What do I do?" +sort_order: 11 +--- + +Model availability changes over time and can vary by account. If a course workflow returns a `404 NOT_FOUND` saying that its Gemini model is unavailable, replace the model id in the affected YAML file with one currently available to you. For example, in a Kestra flow: + +```yaml +provider: + type: io.kestra.plugin.ai.provider.GoogleGemini + modelName: gemini-3.5-flash + apiKey: "{{ secret('GEMINI_API_KEY') }}" +``` + +In `docker-compose.yml`, update the equivalent `model-name` setting. Then rerun the flow, or restart the Docker Compose services if you changed their configuration. + +Check the [official Gemini model list](https://ai.google.dev/gemini-api/docs/models) for current model ids. Do not assume the original model was permanently shut down based on a temporary `404`; select a model that the API makes available to your account.